* 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
This commit is contained in:
parent
64d9c60142
commit
95efa5b2ff
@ -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…
x
Reference in New Issue
Block a user