Normand Briere
2019-06-11 5e6a6f3319f0c4c687fe71952ac9ecc17792b83a
GroupEditor.java
....@@ -3041,7 +3041,7 @@
30413041 child.CloseUI();
30423042 listUI.remove(child);
30433043
3044
- child.editWindow = null; // ???????????
3044
+ //child.editWindow = null; // ???????????
30453045 }
30463046 objEditor.ctrlPanel.FlushUI();
30473047 //objEditor.jTree.clearSelection();
....@@ -4310,15 +4310,13 @@
43104310
43114311 objEditor.SetText(); // jan 2014
43124312
4313
- Object3D object = (Object3D) tps[0].getLastPathComponent();
4314
-
4315
- if (flashIt && !Globals.isLIVE() && tps != null && tps.length > 0 && !(object instanceof Camera))
4313
+ if (flashIt && !Globals.isLIVE() && tps != null && tps.length > 0 && !(tps[0].getLastPathComponent() instanceof Camera))
43164314 CameraPane.flash = true;
43174315
4318
- if (tps != null && tps.length > 0 && object instanceof Camera)
4316
+ if (tps != null && tps.length > 0 && tps[0].getLastPathComponent() instanceof Camera)
43194317 // a camera
43204318 {
4321
- if (object != Globals.theRenderer.LightCamera())
4319
+ if (tps[0].getLastPathComponent() != Globals.theRenderer.LightCamera())
43224320 {
43234321 CameraPane.camerachangeframe = 0; // don't refuse it
43244322 Globals.theRenderer.SetCamera((Camera) tps[0].getLastPathComponent());