diff --git a/engine/src/core/com/jme3/scene/Mesh.java b/engine/src/core/com/jme3/scene/Mesh.java index b894450dc..3db35c417 100644 --- a/engine/src/core/com/jme3/scene/Mesh.java +++ b/engine/src/core/com/jme3/scene/Mesh.java @@ -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