Normand Briere
2019-08-12 b1d79b74514041a059b454a9f6fc3970773c0cb8
SwitchNode.java
....@@ -20,7 +20,7 @@
2020 {
2121 CreateMaterial();
2222 switchobject.get(0).bRep.SaveSupports();
23
- bRep = (BoundaryRep) GrafreeD.clone(switchobject.get(0).bRep);
23
+ bRep = (BoundaryRep) Grafreed.clone(switchobject.get(0).bRep);
2424 switchobject.get(0).bRep.RestoreSupports();
2525 }
2626
....@@ -30,7 +30,7 @@
3030 Object3D par = duplicate.parent;
3131 duplicate.parent = null;
3232 duplicate.SaveSupports();
33
- addChild((Object3D)GrafreeD.clone(duplicate));
33
+ addChild((Object3D)Grafreed.clone(duplicate));
3434 duplicate.parent = par;
3535 duplicate.RestoreSupports();
3636 }
....@@ -46,7 +46,7 @@
4646
4747 transient boolean toggleneutral;
4848
49
- void DrawNode(CameraPane display, Object3D /*Composite*/ root, boolean selected)
49
+ void DrawNode(iCameraPane display, Object3D /*Composite*/ root, boolean selected)
5050 {
5151 //System.err.println("Frame # " + frame);
5252
....@@ -97,7 +97,8 @@
9797
9898 if (bRep == null)
9999 {
100
- bRep = (BoundaryRep) GrafreeD.clone(switchobject.get(0).bRep);
100
+ // The switch mesh will be used to interpolate poaes (maybe).
101
+ bRep = (BoundaryRep)Grafreed.clone(switchobject.get(0).bRep);
101102 }
102103
103104 if (CameraPane.SUPPORT && display.DrawMode() == display.SHADOW)