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/EffectQueue.java
315 315
    {
316 316
    if( mMax[mIndex]>mNumEffectsToBe || !mCreated )
317 317
      {
318
      //android.util.Log.e("queue", "scheduling future add of "+effect.getName().name()+" to "+mNumEffectsToBe+" id="+effect.getID());
319
      //android.util.Log.e("queue", "queue id="+mDistortedEffectsID);
320

  
321 318
      mJobs.add(new Job(ATTACH,0,false,effect));
322 319
      DistortedMaster.newSlave(this);
323 320
      mNumEffectsToBe++;

Also available in: Unified diff