Project

General

Profile

« Previous | Next » 

Revision 568d4698

Added by Leszek Koltunski over 2 years ago

New API to objectlib to recreate an already displayed object (because the settings, like 'IconMode' might have changed) and using the new API in puzzle-creator.

View differences:

src/main/java/org/distorted/objectlib/main/TwistyObject.java
277 277
    {
278 278
    int resourceID= getResource(mNumLayers);
279 279

  
280
    if( resourceID!=0 && !ObjectControl.isInIconMode() )
280
    if( resourceID!=0 && !ObjectControl.isInCreateMesh() )
281 281
      {
282 282
      InputStream is = res.openRawResource(resourceID);
283 283
      DataInputStream dos = new DataInputStream(is);

Also available in: Unified diff