Bugfix: Mesh.deepClone() sets wrong elementCount and vertCount ... in gradle-restructure branch
git-svn-id: https://jmonkeyengine.googlecode.com/svn/branches/gradle-restructure@11079 75d07b2b-3a1a-0410-a2c5-0572b91ccdca
This commit is contained in:
parent
528ed8d014
commit
abe1aa36a6
@ -240,8 +240,8 @@ public class Mesh implements Savable, Cloneable {
|
||||
}
|
||||
|
||||
clone.vertexArrayID = -1;
|
||||
clone.vertCount = -1;
|
||||
clone.elementCount = -1;
|
||||
clone.vertCount = vertCount;
|
||||
clone.elementCount = elementCount;
|
||||
|
||||
// although this could change
|
||||
// if the bone weight/index buffers are modified
|
||||
|
Loading…
x
Reference in New Issue
Block a user