From b3ae4e889872ca0b9ca76f1d17b2f0b961226729 Mon Sep 17 00:00:00 2001 From: Normand Briere <nbriere@noware.ca> Date: Mon, 05 Aug 2019 21:48:55 -0400 Subject: [PATCH] Fix physics UI --- SwitchNode.java | 12 ++++++------ 1 files changed, 6 insertions(+), 6 deletions(-) diff --git a/SwitchNode.java b/SwitchNode.java index 962a851..c6e4dff 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(); } @@ -46,7 +46,7 @@ transient boolean toggleneutral; - void DrawNode(CameraPane display, Object3D /*Composite*/ root, boolean selected) + void DrawNode(iCameraPane display, Object3D /*Composite*/ root, boolean selected) { //System.err.println("Frame # " + frame); @@ -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