From 2d5800d667f12cb75fa717674fb6211c60f8dde0 Mon Sep 17 00:00:00 2001 From: "nor..67" Date: Tue, 5 Feb 2013 19:04:12 +0000 Subject: [PATCH] - add deprecation info to PhysicsSpace.enableDebug git-svn-id: https://jmonkeyengine.googlecode.com/svn/trunk@10341 75d07b2b-3a1a-0410-a2c5-0572b91ccdca --- engine/src/bullet/com/jme3/bullet/PhysicsSpace.java | 2 ++ engine/src/jbullet/com/jme3/bullet/PhysicsSpace.java | 2 ++ 2 files changed, 4 insertions(+) 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; }