Project

General

Profile

« Previous | Next » 

Revision 8110dcc7

Added by Leszek Koltunski over 5 years ago

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.

View differences:

src/main/java/org/distorted/magic/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