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/EffectQueuePostprocess.java
80 80
        {
81 81
        for(int j=0; j<mNumListeners; j++)
82 82
          EffectMessageSender.newMessage( mListeners.get(j), EffectMessage.EFFECT_FINISHED, mEffects[i].getID(), mDistortedEffectsID);
83

  
84
        if( mEffects[i].isUnity( mUniforms, NUM_UNIFORMS*i) )
85
          {
86
          remove(i--);
87
          mNumEffectsToBe--;
88
          regenerateIDandSort();
89
          continue;
90
          }
91 83
        }
92 84

  
93 85
      halo = (int)mUniforms[NUM_UNIFORMS*i];

Also available in: Unified diff