Explorar el Código

TestRagDoll: no need to instantiate BulletAppState 2x

Stephen Gold hace 3 años
padre
commit
490602088a
Se han modificado 1 ficheros con 1 adiciones y 1 borrados
  1. 1 1
      jme3-examples/src/main/java/jme3test/bullet/TestRagDoll.java

+ 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);