.. | .. |
---|
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; |
---|
.. | .. |
---|
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) |
---|