Revision 65d5505f
Added by Leszek Koltunski over 7 years ago
src/main/java/org/distorted/library/EffectQueueVertex.java | ||
---|---|---|
78 | 78 |
{ |
79 | 79 |
if( mInter[0][i].interpolateMain(mUniforms ,NUM_UNIFORMS*i, mCurrentDuration[i], step) ) |
80 | 80 |
{ |
81 |
postprocess(i); |
|
82 |
|
|
81 | 83 |
for(int j=0; j<mNumListeners; j++) |
82 | 84 |
EffectMessageSender.newMessage( mListeners.elementAt(j), |
83 | 85 |
EffectMessage.EFFECT_FINISHED, |
Also available in: Unified diff
2 bugfixes:
- in Dynamics, it has to be t<=0.5 (rather than t<0.5) (see comment in code)
- in EffectQueueVertex, we need to postprocess() the last time, when effect is finished but not removed!