File tree Expand file tree Collapse file tree 1 file changed +5
-3
lines changed
jme3-core/src/test/java/com/jme3/anim Expand file tree Collapse file tree 1 file changed +5
-3
lines changed Original file line number Diff line number Diff line change @@ -34,15 +34,17 @@ public void testSkinningControl() {
3434
3535 SkinningControl sc = model .getControl (SkinningControl .class );
3636 validateSkinningControl (sc );
37-
37+
3838 model .removeControl (sc );
3939 model .addControl (sc );
40-
4140 validateSkinningControl (sc );
4241
4342 Spatial copy = BinaryExporter .saveAndLoad (assetManager , model );
4443 SkinningControl scCopy = copy .getControl (SkinningControl .class );
44+ validateSkinningControl (scCopy );
4545
46+ copy .removeControl (scCopy );
47+ copy .addControl (scCopy );
4648 validateSkinningControl (scCopy );
4749 }
4850 }
@@ -54,7 +56,7 @@ private void validateSkinningControl(SkinningControl sc) {
5456
5557 int numberOfBones = 0 ;
5658 int boneMatrices = 0 ;
57-
59+
5860 for (MatParamOverride mpo : mpos ) {
5961 Assert .assertTrue (mpo .isEnabled ());
6062 Assert .assertNull (mpo .getValue ());
You can’t perform that action at this time.
0 commit comments