* Mesh.extractVertexData() will copy max weights per vert as well, this is needed for animation to work

git-svn-id: https://jmonkeyengine.googlecode.com/svn/trunk@9011 75d07b2b-3a1a-0410-a2c5-0572b91ccdca
3.0
Sha..rd 13 years ago
parent 64d9c60142
commit 95efa5b2ff
  1. 3
      engine/src/core/com/jme3/scene/Mesh.java

@ -1153,6 +1153,9 @@ public class Mesh implements Savable, Cloneable {
setBuffer(newVb);
}
// Copy max weights per vertex as well
setMaxNumWeights(other.getMaxNumWeights());
// The data has been copied over, update informations
updateCounts();
updateBound();

Loading…
Cancel
Save