.. | .. |
---|
3041 | 3041 | child.CloseUI(); |
---|
3042 | 3042 | listUI.remove(child); |
---|
3043 | 3043 | |
---|
3044 | | - child.editWindow = null; // ??????????? |
---|
| 3044 | + //child.editWindow = null; // ??????????? |
---|
3045 | 3045 | } |
---|
3046 | 3046 | objEditor.ctrlPanel.FlushUI(); |
---|
3047 | 3047 | //objEditor.jTree.clearSelection(); |
---|
.. | .. |
---|
4310 | 4310 | |
---|
4311 | 4311 | objEditor.SetText(); // jan 2014 |
---|
4312 | 4312 | |
---|
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)) |
---|
4316 | 4314 | CameraPane.flash = true; |
---|
4317 | 4315 | |
---|
4318 | | - if (tps != null && tps.length > 0 && object instanceof Camera) |
---|
| 4316 | + if (tps != null && tps.length > 0 && tps[0].getLastPathComponent() instanceof Camera) |
---|
4319 | 4317 | // a camera |
---|
4320 | 4318 | { |
---|
4321 | | - if (object != Globals.theRenderer.LightCamera()) |
---|
| 4319 | + if (tps[0].getLastPathComponent() != Globals.theRenderer.LightCamera()) |
---|
4322 | 4320 | { |
---|
4323 | 4321 | CameraPane.camerachangeframe = 0; // don't refuse it |
---|
4324 | 4322 | Globals.theRenderer.SetCamera((Camera) tps[0].getLastPathComponent()); |
---|