Project

General

Profile

« Previous | Next » 

Revision 45e0065d

Added by Leszek Koltunski over 2 years ago

Correct the next bug with settign the object size.
Multiply the time limits in BlockController by 2 - this way we can see if the ratio of (UI+Touch)/Thread Firebase non-fatals will observably drop below the current value of 4.

View differences:

src/main/java/org/distorted/objectlib/main/ObjectControl.java
612 612
      mScreenHeight= height;
613 613
      mScreenMin   = Math.min(width,height);
614 614

  
615
      if( mObjectNode!=null ) mObjectNode.setSize(width,height);
616

  
615 617
      TwistyObject object = mPreRender.getObject();
616 618

  
617 619
      if( object!=null )
618 620
        {
619 621
        object.setTexture();
620
        if( mObjectNode!=null )
621
          {
622
          object.setObjectRatioNow(1.0f,mObjectNode.getMinSize());
623
          }
622
        object.setNodeSize(mScreenMin);
624 623
        }
625

  
626
      if( mObjectNode!=null ) mObjectNode.setSize(width,height);
627 624
      }
628 625

  
629 626
///////////////////////////////////////////////////////////////////////////////////////////////////

Also available in: Unified diff