소스 검색

- add deprecation info to PhysicsSpace.enableDebug

git-svn-id: https://jmonkeyengine.googlecode.com/svn/trunk@10341 75d07b2b-3a1a-0410-a2c5-0572b91ccdca
nor..67 12 년 전
부모
커밋
2d5800d667
2개의 변경된 파일4개의 추가작업 그리고 0개의 파일을 삭제
  1. 2 0
      engine/src/bullet/com/jme3/bullet/PhysicsSpace.java
  2. 2 0
      engine/src/jbullet/com/jme3/bullet/PhysicsSpace.java

+ 2 - 0
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;
     }

+ 2 - 0
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;
     }