Implemented setSpeed for animationTrack as it needs special treatment
git-svn-id: https://jmonkeyengine.googlecode.com/svn/trunk@9258 75d07b2b-3a1a-0410-a2c5-0572b91ccdca
This commit is contained in:
parent
1945a0c1c0
commit
7f6ce84ffd
@ -149,6 +149,16 @@ public class AnimationTrack extends AbstractCinematicEvent {
|
||||
}
|
||||
}
|
||||
|
||||
@Override
|
||||
public void setSpeed(float speed) {
|
||||
super.setSpeed(speed);
|
||||
if(channel!=null){
|
||||
channel.setSpeed(speed);
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
|
||||
@Override
|
||||
public void onUpdate(float tpf) {
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user