Bone: remove useless loadIdentity()

experimental
Kirill Vainer 10 years ago
parent f836b26f2e
commit a855915358
  1. 1
      jme3-core/src/main/java/com/jme3/animation/Bone.java

@ -553,7 +553,6 @@ public final class Bone implements Savable {
Vector3f translate = modelPos.add(rotate.mult(scale.mult(modelBindInversePos, tmp2), tmp2), tmp2);
// Populating the matrix
outTransform.loadIdentity();
outTransform.setTransform(translate, scale, rotate.toRotationMatrix(tmp4));
}

Loading…
Cancel
Save