.. | .. |
---|
20 | 20 | { |
---|
21 | 21 | CreateMaterial(); |
---|
22 | 22 | switchobject.get(0).bRep.SaveSupports(); |
---|
23 | | - bRep = (BoundaryRep) GrafreeD.clone(switchobject.get(0).bRep); |
---|
| 23 | + bRep = (BoundaryRep) Grafreed.clone(switchobject.get(0).bRep); |
---|
24 | 24 | switchobject.get(0).bRep.RestoreSupports(); |
---|
25 | 25 | } |
---|
26 | 26 | |
---|
.. | .. |
---|
30 | 30 | Object3D par = duplicate.parent; |
---|
31 | 31 | duplicate.parent = null; |
---|
32 | 32 | duplicate.SaveSupports(); |
---|
33 | | - addChild((Object3D)GrafreeD.clone(duplicate)); |
---|
| 33 | + addChild((Object3D)Grafreed.clone(duplicate)); |
---|
34 | 34 | duplicate.parent = par; |
---|
35 | 35 | duplicate.RestoreSupports(); |
---|
36 | 36 | } |
---|
.. | .. |
---|
41 | 41 | switchobject.count = 1; // hide |
---|
42 | 42 | } |
---|
43 | 43 | |
---|
44 | | - transient boolean restarted; |
---|
| 44 | + //transient boolean restarted; |
---|
45 | 45 | transient int countspeed; |
---|
46 | 46 | |
---|
47 | 47 | transient boolean toggleneutral; |
---|
48 | 48 | |
---|
49 | | - void DrawNode(CameraPane display, Object3D /*Composite*/ root, boolean selected) |
---|
| 49 | + void DrawNode(iCameraPane display, Object3D /*Composite*/ root, boolean selected) |
---|
50 | 50 | { |
---|
51 | 51 | //System.err.println("Frame # " + frame); |
---|
52 | 52 | |
---|
.. | .. |
---|
59 | 59 | } |
---|
60 | 60 | if (live && Globals.isLIVE() && display.DrawMode() == display.SHADOW) |
---|
61 | 61 | { |
---|
62 | | - if (countspeed == 0) |
---|
| 62 | + if (countspeed <= 0) |
---|
63 | 63 | { |
---|
64 | 64 | countspeed = speed; |
---|
65 | 65 | |
---|
.. | .. |
---|
92 | 92 | |
---|
93 | 93 | } |
---|
94 | 94 | else |
---|
95 | | - countspeed--; |
---|
| 95 | + { |
---|
| 96 | + if (CameraPane.FAST) |
---|
| 97 | + countspeed -= CameraPane.STEP; |
---|
| 98 | + else |
---|
| 99 | + countspeed--; |
---|
| 100 | + } |
---|
96 | 101 | } |
---|
97 | 102 | |
---|
98 | 103 | if (bRep == null) |
---|
99 | 104 | { |
---|
100 | | - bRep = (BoundaryRep) GrafreeD.clone(switchobject.get(0).bRep); |
---|
| 105 | + // The switch mesh will be used to interpolate poaes (maybe). |
---|
| 106 | + bRep = (BoundaryRep)Grafreed.clone(switchobject.get(0).bRep); |
---|
101 | 107 | } |
---|
102 | 108 | |
---|
103 | 109 | if (CameraPane.SUPPORT && display.DrawMode() == display.SHADOW) |
---|