Normand Briere
2019-10-04 57c5b6cd8d12ffdaa3e0b099451e3c031012750a
SwitchNode.java
....@@ -57,7 +57,7 @@
5757 parent = super.parent;
5858
5959 }
60
- if (live && Globals.isLIVE() && display.DrawMode() == display.SHADOW)
60
+ if (live && Globals.isLIVE() && (display.DrawMode() == display.SHADOW || !Globals.RENDERSHADOW))
6161 {
6262 if (countspeed <= 0)
6363 {
....@@ -106,7 +106,7 @@
106106 bRep = (BoundaryRep)Grafreed.clone(switchobject.get(0).bRep);
107107 }
108108
109
- if (CameraPane.SUPPORT && display.DrawMode() == display.SHADOW)
109
+ if (CameraPane.SUPPORT && (display.DrawMode() == display.SHADOW || !Globals.RENDERSHADOW))
110110 {
111111 Update();
112112 }