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/trunk@11003 75d07b2b-3a1a-0410-a2c5-0572b91ccdca
This commit is contained in:
parent
752599891a
commit
43e1446b3a
@ -184,14 +184,13 @@ import com.jme3.util.BufferUtils;
|
||||
LOGGER.log(Level.SEVERE, e.getLocalizedMessage(), e);
|
||||
invalid = true;
|
||||
}
|
||||
}
|
||||
|
||||
AnimationHelper animationHelper = blenderContext.getHelper(AnimationHelper.class);
|
||||
animationHelper.applyAnimations(node, skeleton, blenderContext.getBlenderKey().getSkeletonAnimationNames(node.getName()));
|
||||
|
||||
node.updateModelBound();
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
/**
|
||||
* This method reads mesh indexes
|
||||
|
Loading…
x
Reference in New Issue
Block a user