@@ -66,7 +66,6 @@ public static void main(String[] args) {
66
66
private BitmapText bmp ;
67
67
private Spatial spCopy ;
68
68
private SkinningControl skinningControl ;
69
- private AnimComposer animComposer ;
70
69
71
70
@ Override
72
71
public void simpleInitApp () {
@@ -77,14 +76,13 @@ public void simpleInitApp() {
77
76
78
77
// Load the Ogre model (Oto.mesh.xml) from the assets
79
78
Spatial model = assetManager .loadModel ("Models/Oto/Oto.mesh.xml" );
80
-
81
79
// Save the loaded model to jME3's binary format and then reload it.
82
80
// This tests the binary serialization/deserialization process.
83
81
spCopy = BinaryExporter .saveAndLoad (assetManager , model );
84
82
spCopy .setName ("Oto-Copy" );
85
83
rootNode .attachChild (spCopy );
86
84
87
- animComposer = spCopy .getControl (AnimComposer .class );
85
+ AnimComposer animComposer = spCopy .getControl (AnimComposer .class );
88
86
animComposer .setCurrentAction ("Walk" );
89
87
90
88
// Get the SkinningControl from the model to inspect skinning properties
@@ -116,7 +114,6 @@ public void simpleUpdate(float tpf) {
116
114
sb .append ("HW Skinning Preferred: " ).append (skinningControl .isHardwareSkinningPreferred ()).append ("\n " );
117
115
sb .append ("HW Skinning Enabled: " ).append (skinningControl .isHardwareSkinningUsed ()).append ("\n " );
118
116
sb .append ("Mesh Targets: " ).append (skinningControl .getTargets ().length ).append ("\n " );
119
- sb .append ("Anim Clips: " ).append (animComposer .getAnimClips ().size ()).append ("\n " );
120
117
121
118
for (MatParamOverride mpo : spCopy .getLocalMatParamOverrides ()) {
122
119
sb .append (mpo .getVarType ()).append (" " );
0 commit comments