Project

General

Profile

« Previous | Next » 

Revision 835b197e

Added by Leszek Koltunski almost 3 years ago

Move the information when was a EffectQueue last time evaluated from the EffectQueues all the way up to the Node which contains them.
The point: we need to reset this time back to 0 every time we attach the Node (and thus start evaluating the Queues inside)

View differences:

src/main/java/org/distorted/library/main/DistortedScreen.java
174 174

  
175 175
    if( mDebugMode!=DEBUG_MODE_NONE && debugTexture.setAsInput())
176 176
      {
177
      DistortedLibrary.drawPriv(debugEffects, debugMesh, this, time);
177
      DistortedLibrary.drawPriv(debugEffects, debugMesh, this, time,0);
178 178
      }
179 179

  
180 180
    if( mQueueSize<=0 )

Also available in: Unified diff