OSDN Git Service

- add deprecation info to PhysicsSpace.enableDebug
authornormen667 <normen667@75d07b2b-3a1a-0410-a2c5-0572b91ccdca>
Tue, 5 Feb 2013 19:04:12 +0000 (19:04 +0000)
committernormen667 <normen667@75d07b2b-3a1a-0410-a2c5-0572b91ccdca>
Tue, 5 Feb 2013 19:04:12 +0000 (19:04 +0000)
git-svn-id: http://jmonkeyengine.googlecode.com/svn/trunk@10341 75d07b2b-3a1a-0410-a2c5-0572b91ccdca

engine/src/bullet/com/jme3/bullet/PhysicsSpace.java
engine/src/jbullet/com/jme3/bullet/PhysicsSpace.java

index 6a1ee9c..f97ebf1 100644 (file)
@@ -920,7 +920,9 @@ public class PhysicsSpace {
     /**
      * Enable debug display for physics
      * @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) {
         debugManager = manager;
     }
index 3ba7079..123779a 100644 (file)
@@ -859,7 +859,9 @@ public class PhysicsSpace {
     /**
      * Enable debug display for physics
      * @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) {
         debugManager = manager;
     }