diff --git a/engine/src/bullet/com/jme3/bullet/PhysicsSpace.java b/engine/src/bullet/com/jme3/bullet/PhysicsSpace.java index 6a1ee9c7d..f97ebf198 100644 --- a/engine/src/bullet/com/jme3/bullet/PhysicsSpace.java +++ b/engine/src/bullet/com/jme3/bullet/PhysicsSpace.java @@ -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; } diff --git a/engine/src/jbullet/com/jme3/bullet/PhysicsSpace.java b/engine/src/jbullet/com/jme3/bullet/PhysicsSpace.java index 3ba707940..123779ad9 100644 --- a/engine/src/jbullet/com/jme3/bullet/PhysicsSpace.java +++ b/engine/src/jbullet/com/jme3/bullet/PhysicsSpace.java @@ -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; }