- add deprecation info to PhysicsSpace.enableDebug

git-svn-id: https://jmonkeyengine.googlecode.com/svn/trunk@10341 75d07b2b-3a1a-0410-a2c5-0572b91ccdca
3.0
nor..67 12 years ago
parent ab6bdae774
commit 2d5800d667
  1. 2
      engine/src/bullet/com/jme3/bullet/PhysicsSpace.java
  2. 2
      engine/src/jbullet/com/jme3/bullet/PhysicsSpace.java

@ -920,7 +920,9 @@ public class PhysicsSpace {
/** /**
* Enable debug display for physics * Enable debug display for physics
* @param manager AssetManager to use to create debug materials * @param manager AssetManager to use to create debug materials
* @Deprecated in favor of BulletDebugAppState, use BulletAppState.enableDebug() to add automatically
*/ */
@Deprecated
public void enableDebug(AssetManager manager) { public void enableDebug(AssetManager manager) {
debugManager = manager; debugManager = manager;
} }

@ -859,7 +859,9 @@ public class PhysicsSpace {
/** /**
* Enable debug display for physics * Enable debug display for physics
* @param manager AssetManager to use to create debug materials * @param manager AssetManager to use to create debug materials
* @Deprecated in favor of BulletDebugAppState, use BulletAppState.enableDebug() to add automatically
*/ */
@Deprecated
public void enableDebug(AssetManager manager) { public void enableDebug(AssetManager manager) {
debugManager = manager; debugManager = manager;
} }

Loading…
Cancel
Save