Revision e3c970a7
Added by Leszek Koltunski over 2 years ago
| src/main/java/org/distorted/bandaged/BandagedCreatorRenderer.java | ||
|---|---|---|
| 156 | 156 |
|
| 157 | 157 |
if( mConnectingCubits ) |
| 158 | 158 |
{
|
| 159 |
mConnectingCubits = false; |
|
| 160 | 159 |
mObject.tryConnectingCubits(mIndex1,mIndex2,mScaleValue); |
| 160 |
mConnectingCubits = false; |
|
| 161 | 161 |
} |
| 162 | 162 |
|
| 163 | 163 |
if( mCreatingCubits ) |
| 164 | 164 |
{
|
| 165 |
mCreatingCubits = false; |
|
| 166 | 165 |
rescaleObject(); |
| 167 | 166 |
|
| 168 | 167 |
if( mCubitsCreated ) |
| ... | ... | |
| 175 | 174 |
mView.resetCubits(); |
| 176 | 175 |
mObject.attachCubits(mScaleValue); |
| 177 | 176 |
} |
| 177 |
|
|
| 178 |
mCreatingCubits = false; |
|
| 178 | 179 |
} |
| 179 | 180 |
|
| 180 | 181 |
if( mRescaling ) |
| 181 | 182 |
{
|
| 182 |
mRescaling = false; |
|
| 183 | 183 |
rescaleObject(); |
| 184 | 184 |
mObject.scaleCubits(mScaleValue); |
| 185 | 185 |
BandagedCreatorTouchControl control = mView.getTouchControl(); |
| 186 | 186 |
control.setObjectRatio(mObjectScreenRatio); |
| 187 |
mRescaling = false; |
|
| 187 | 188 |
} |
| 188 | 189 |
} |
| 189 | 190 |
|
| ... | ... | |
| 269 | 270 |
|
| 270 | 271 |
public boolean isBusy() |
| 271 | 272 |
{
|
| 272 |
return mResettingObject;
|
|
| 273 |
return (mResettingObject || mCreatingCubits || mConnectingCubits);
|
|
| 273 | 274 |
} |
| 274 | 275 |
|
| 275 | 276 |
/////////////////////////////////////////////////////////////////////////////////////////////////// |
Also available in: Unified diff
Switch off Tins Cube; bugfixes for the BandagedCreator.