fix issue #240 (TestBlenderObjectAnim fails with NPE)

accellbaker
Stephen Gold 6 years ago
parent 53d7052301
commit cf7725a56e
  1. 4
      jme3-examples/src/main/java/jme3test/model/anim/TestBlenderObjectAnim.java

@ -69,13 +69,13 @@ public class TestBlenderObjectAnim extends SimpleApplication {
Spatial scene = (Spatial) assetManager.loadModel(blenderKey);
rootNode.attachChild(scene);
Spatial model = this.findNode(rootNode, "TestAnim");
Spatial model = this.findNode(rootNode, "Cube");
model.center();
control = model.getControl(AnimControl.class);
channel = control.createChannel();
channel.setAnim("TestAnim");
channel.setAnim("Action");
}
/**

Loading…
Cancel
Save