From ec1ab4278b2408d3b19083e530e0376f809cca44 Mon Sep 17 00:00:00 2001 From: Normand Briere <nbriere@noware.ca> Date: Mon, 22 Apr 2019 14:29:20 -0400 Subject: [PATCH] Fix drawSelf --- SwitchNode.java | 10 +++++----- 1 files changed, 5 insertions(+), 5 deletions(-) diff --git a/SwitchNode.java b/SwitchNode.java index 962a851..0297c96 100644 --- a/SwitchNode.java +++ b/SwitchNode.java @@ -20,7 +20,7 @@ { CreateMaterial(); switchobject.get(0).bRep.SaveSupports(); - bRep = (BoundaryRep) GraphreeD.clone(switchobject.get(0).bRep); + bRep = (BoundaryRep) GrafreeD.clone(switchobject.get(0).bRep); switchobject.get(0).bRep.RestoreSupports(); } @@ -30,7 +30,7 @@ Object3D par = duplicate.parent; duplicate.parent = null; duplicate.SaveSupports(); - addChild((Object3D)GraphreeD.clone(duplicate)); + addChild((Object3D)GrafreeD.clone(duplicate)); duplicate.parent = par; duplicate.RestoreSupports(); } @@ -57,7 +57,7 @@ parent = super.parent; } - if (live && display.isLIVE() && display.drawMode == display.SHADOW) + if (live && Globals.isLIVE() && display.DrawMode() == display.SHADOW) { if (countspeed == 0) { @@ -97,10 +97,10 @@ if (bRep == null) { - bRep = (BoundaryRep) GraphreeD.clone(switchobject.get(0).bRep); + bRep = (BoundaryRep) GrafreeD.clone(switchobject.get(0).bRep); } - if (CameraPane.SUPPORT && display.drawMode == display.SHADOW) + if (CameraPane.SUPPORT && display.DrawMode() == display.SHADOW) { Update(); } -- Gitblit v1.6.2