Project

General

Profile

« Previous | Next » 

Revision 17d623f1

Added by Leszek Koltunski over 2 years ago

Bugfix: we shouldn't be calling TwsityObject.solve() directly from the app, only through ObjectControl.solveOnly().

View differences:

src/main/java/org/distorted/objectlib/main/ObjectPreRender.java
336 336

  
337 337
///////////////////////////////////////////////////////////////////////////////////////////////////
338 338
// INTERNAL API
339
///////////////////////////////////////////////////////////////////////////////////////////////////
340
// this only sets the cubits state to solved
341

  
342
  public void solve()
343
    {
344
    mSolve = true;
345
    }
346

  
347 339
///////////////////////////////////////////////////////////////////////////////////////////////////
348 340

  
349 341
  public int getNumScrambles()
......
537 529
      }
538 530
    }
539 531

  
532
///////////////////////////////////////////////////////////////////////////////////////////////////
533
// this only sets the cubits state to solved
534

  
535
  public void solveOnly()
536
    {
537
    mSolve = true;
538
    }
539

  
540 540
///////////////////////////////////////////////////////////////////////////////////////////////////
541 541

  
542 542
  public void resetAllTextureMaps()

Also available in: Unified diff