Bugfix: animation control is now applied once per node and not many times (this happened when node had several different meshes).
git-svn-id: https://jmonkeyengine.googlecode.com/svn/branches/gradle-restructure@11003 75d07b2b-3a1a-0410-a2c5-0572b91ccdca
This commit is contained in:
parent
ad7013e228
commit
69978c710e
@ -184,12 +184,11 @@ import com.jme3.util.BufferUtils;
|
|||||||
LOGGER.log(Level.SEVERE, e.getLocalizedMessage(), e);
|
LOGGER.log(Level.SEVERE, e.getLocalizedMessage(), e);
|
||||||
invalid = true;
|
invalid = true;
|
||||||
}
|
}
|
||||||
|
|
||||||
AnimationHelper animationHelper = blenderContext.getHelper(AnimationHelper.class);
|
|
||||||
animationHelper.applyAnimations(node, skeleton, blenderContext.getBlenderKey().getSkeletonAnimationNames(node.getName()));
|
|
||||||
|
|
||||||
node.updateModelBound();
|
|
||||||
}
|
}
|
||||||
|
|
||||||
|
AnimationHelper animationHelper = blenderContext.getHelper(AnimationHelper.class);
|
||||||
|
animationHelper.applyAnimations(node, skeleton, blenderContext.getBlenderKey().getSkeletonAnimationNames(node.getName()));
|
||||||
|
node.updateModelBound();
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user