From 829f93f305ce15893aada126a98d9068b1cdefed Mon Sep 17 00:00:00 2001 From: Normand Briere <nbriere@noware.ca> Date: Mon, 24 Jun 2019 23:26:38 -0400 Subject: [PATCH] Fix light --- CameraPane.java | 9 ++++++--- 1 files changed, 6 insertions(+), 3 deletions(-) diff --git a/CameraPane.java b/CameraPane.java index c1f5c9b..257636d 100644 --- a/CameraPane.java +++ b/CameraPane.java @@ -10481,6 +10481,7 @@ ANTIALIAS = 0; //System.out.println("RESTART"); AAtimer.restart(); + Globals.TIMERRUNNING = true; } } } @@ -12046,7 +12047,7 @@ for (int i = tp.size(); --i >= 0;) { //for (int count = tp.get(i).GetTransformCount(); --count>=0;) - LA.xformPos(light, tp.get(i).GlobalTransform(), light); + LA.xformPos(light, tp.get(i).GlobalTransformInv(), light); } @@ -13840,6 +13841,7 @@ else if (evt.getSource() == AAtimer) { + Globals.TIMERRUNNING = false; if (mouseDown) { //new Exception().printStackTrace(); @@ -13914,6 +13916,7 @@ return; AAtimer.restart(); // + Globals.TIMERRUNNING = true; // waslive = LIVE; // LIVE = false; @@ -14377,7 +14380,7 @@ info.camera = renderCamera; info.x = x; info.y = y; - object.manipWindow.copy + object.GetWindow().copy .doEditDrag(info, (modifiers & MouseEvent.BUTTON3_MASK) != 0); } else { @@ -15378,7 +15381,7 @@ } */ - object.editWindow.EditSelection(); + object.editWindow.EditSelection(false); } void SelectParent() -- Gitblit v1.6.2