From f1c718cce66e5651a0dae91375db6ebfaded1a92 Mon Sep 17 00:00:00 2001
From: Normand Briere <nbriere@noware.ca>
Date: Sat, 27 Apr 2019 21:33:41 -0400
Subject: [PATCH] Test unfold UV

---
 SwitchNode.java |   12 ++++++------
 1 files changed, 6 insertions(+), 6 deletions(-)

diff --git a/SwitchNode.java b/SwitchNode.java
index 962a851..b06c2aa 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