From 57c5b6cd8d12ffdaa3e0b099451e3c031012750a Mon Sep 17 00:00:00 2001 From: Normand Briere <nbriere@noware.ca> Date: Thu, 03 Oct 2019 20:34:32 -0400 Subject: [PATCH] Fix lighttouched --- PhysicsNode.java | 4 +++- 1 files changed, 3 insertions(+), 1 deletions(-) diff --git a/PhysicsNode.java b/PhysicsNode.java index 423ac33..5d1d131 100644 --- a/PhysicsNode.java +++ b/PhysicsNode.java @@ -113,8 +113,10 @@ void drawSelf(iCameraPane display, Object3D /*Composite*/ root, boolean selected, boolean blocked) { - if (Globals.isLIVE() && live && display.DrawMode() == display.SHADOW) // SHADOW + if (Globals.isLIVE() && live && (Globals.DrawMode() == iCameraPane.SHADOW || !Globals.RENDERSHADOW || !Globals.COMPUTESHADOWWHENLIVE)) // SHADOW { + Globals.lighttouched = true; + float ms = getDeltaTimeMicroseconds(); float minFPS = 1000000f / 60f; if (ms > minFPS) -- Gitblit v1.6.2