Normand Briere
2019-06-13 4629090fafbef256abd0686a85ee12042d658868
ObjEditor.java
....@@ -3306,12 +3306,17 @@
33063306 {
33073307 cRadio tab = GetCurrentTab();
33083308
3309
+ boolean temp = CameraPane.SWITCH;
3310
+ CameraPane.SWITCH = false;
3311
+
33093312 copy.ExtractBigData(hashtable);
33103313
33113314 //EditorFrame.m_MainFrame.requestFocusInWindow();
33123315 tab.graphs[tab.undoindex++] = Compress(copy);
33133316
33143317 copy.RestoreBigData(hashtable);
3318
+
3319
+ CameraPane.SWITCH = temp;
33153320
33163321 //assert(hashtable.isEmpty());
33173322
....@@ -3342,6 +3347,9 @@
33423347
33433348 void CopyChanged(Object3D obj)
33443349 {
3350
+ boolean temp = CameraPane.SWITCH;
3351
+ CameraPane.SWITCH = false;
3352
+
33453353 copy.ExtractBigData(hashtable);
33463354
33473355 copy.clear();
....@@ -3353,6 +3361,8 @@
33533361
33543362 copy.RestoreBigData(hashtable);
33553363
3364
+ CameraPane.SWITCH = temp;
3365
+
33563366 //assert(hashtable.isEmpty());
33573367
33583368 copy.Touch();