Ver código fonte

TestRagDoll: no need to instantiate BulletAppState 2x

Stephen Gold 3 anos atrás
pai
commit
490602088a

+ 1 - 1
jme3-examples/src/main/java/jme3test/bullet/TestRagDoll.java

@@ -49,7 +49,7 @@ import com.jme3.scene.Node;
  */
 public class TestRagDoll extends SimpleApplication implements ActionListener {
 
-    private BulletAppState bulletAppState = new BulletAppState();
+    private BulletAppState bulletAppState;
     final private Node ragDoll = new Node();
     private Node shoulders;
     final private Vector3f upforce = new Vector3f(0, 200, 0);