* Fix crash in TestWalkingChar

git-svn-id: https://jmonkeyengine.googlecode.com/svn/trunk@9707 75d07b2b-3a1a-0410-a2c5-0572b91ccdca
3.0
Sha..rd 12 years ago
parent 3c4405868a
commit 6cddcf8f1d
  1. 2
      engine/src/test/jme3test/bullet/TestWalkingChar.java

@ -199,7 +199,7 @@ public class TestWalkingChar extends SimpleApplication implements ActionListener
bulletCollisionShape = new SphereCollisionShape(0.4f);
matBullet = new Material(getAssetManager(), "Common/MatDefs/Misc/Unshaded.j3md");
matBullet.setColor("Color", ColorRGBA.Green);
matBullet.setColor("m_GlowColor", ColorRGBA.Green);
matBullet.setColor("GlowColor", ColorRGBA.Green);
getPhysicsSpace().addCollisionListener(this);
}

Loading…
Cancel
Save