Project

General

Profile

« Previous | Next » 

Revision 142c7236

Added by Leszek Koltunski about 5 years ago

Many things.

1) make the Dynamic.setDuration() able to be called AFTER the Dynamic has already been run. (and rename it to 'makeRunNowFor()' )
2) remove the automatic removal of zero Effects from EffectQueues.
3) adjust several Apps to cope with 2)
4) add post-rotation to Rubik (still not finished)

View differences:

src/main/java/org/distorted/library/main/EffectQueueFragment.java
69 69
        {
70 70
        for(int j=0; j<mNumListeners; j++)
71 71
          EffectMessageSender.newMessage( mListeners.get(j), EffectMessage.EFFECT_FINISHED, mEffects[i].getID(), mDistortedEffectsID);
72

  
73
        if( mEffects[i].isUnity( mUniforms, NUM_UNIFORMS*i) )
74
          {
75
          remove(i--);
76
          mNumEffectsToBe--;
77
          continue;
78
          }
79 72
        }
80 73

  
81 74
      mUniforms[NUM_UNIFORMS*i+5] -= halfX;

Also available in: Unified diff