Discovered by visual inspection while tracking down an unrelated issue. Here's a simple test that illustrates the issue:
Joint testJoint = new Joint("testJoint");
Assert.assertTrue(testJoint.getInitialTransform().isIdentity());
Joint clone = Cloner.deepClone(testJoint);
clone.getInitialTransform().setScale(2f);
Assert.assertTrue(testJoint.getInitialTransform().isIdentity());
The 2nd assertTrue() fails because testJoint and its clone share the same initial transform.
Discovered by visual inspection while tracking down an unrelated issue. Here's a simple test that illustrates the issue:
The 2nd
assertTrue()fails becausetestJointand its clone share the same initial transform.