EffectTrack : fixed an issue when emitter wouldn't emit again once the animation was done and loopMode was set to DontLoop
git-svn-id: https://jmonkeyengine.googlecode.com/svn/trunk@9858 75d07b2b-3a1a-0410-a2c5-0572b91ccdca
This commit is contained in:
parent
72d169d7e5
commit
f7d6c30db3
@ -132,8 +132,6 @@ public class EffectTrack implements ClonableTrack {
|
|||||||
return c;
|
return c;
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
};
|
};
|
||||||
|
|
||||||
//Anim listener that stops the Emmitter when the animation is finished or changed.
|
//Anim listener that stops the Emmitter when the animation is finished or changed.
|
||||||
@ -144,7 +142,6 @@ public class EffectTrack implements ClonableTrack {
|
|||||||
}
|
}
|
||||||
|
|
||||||
public void onAnimChange(AnimControl control, AnimChannel channel, String animName) {
|
public void onAnimChange(AnimControl control, AnimChannel channel, String animName) {
|
||||||
stop();
|
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user