From cf7725a56e1f968a8b6dbac2051e423afdd49262 Mon Sep 17 00:00:00 2001 From: Stephen Gold Date: Sat, 15 Dec 2018 23:12:11 -0800 Subject: [PATCH] fix issue #240 (TestBlenderObjectAnim fails with NPE) --- .../main/java/jme3test/model/anim/TestBlenderObjectAnim.java | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/jme3-examples/src/main/java/jme3test/model/anim/TestBlenderObjectAnim.java b/jme3-examples/src/main/java/jme3test/model/anim/TestBlenderObjectAnim.java index f7171f2bd..68855176a 100644 --- a/jme3-examples/src/main/java/jme3test/model/anim/TestBlenderObjectAnim.java +++ b/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"); } /**