Revision 96ddd33a
Added by Leszek Koltunski over 5 years ago
src/main/java/org/distorted/examples/rubik/RubikRenderer.java | ||
---|---|---|
120 | 120 |
mScreen.detachAll(); |
121 | 121 |
mCube.attachToScreen(mScreen); |
122 | 122 |
mNextCubeSize = 0; |
123 |
mCanRotate = true; // it can happen that we have just changed the size of the cube while |
|
124 |
// finishing rotation and never removed it! |
|
123 | 125 |
} |
124 | 126 |
} |
125 | 127 |
|
Also available in: Unified diff
Another bugfix: if we keep changing the cube size and rotating sides at the same time, then it could happen that ability to rotate was permanently withdrawn.