浏览代码

SDK : fixed an issue causing audio nodes to "fly around" when attached to a sub node with non zero translations.

git-svn-id: https://jmonkeyengine.googlecode.com/svn/trunk@10730 75d07b2b-3a1a-0410-a2c5-0572b91ccdca
rem..om 12 年之前
父节点
当前提交
30485ac364
共有 1 个文件被更改,包括 0 次插入2 次删除
  1. 0 2
      jme3-scenecomposer/src/com/jme3/gde/scenecomposer/SceneComposerToolController.java

+ 0 - 2
jme3-scenecomposer/src/com/jme3/gde/scenecomposer/SceneComposerToolController.java

@@ -450,13 +450,11 @@ public class SceneComposerToolController extends SceneToolController {
         @Override
         @Override
         public void setLocalTranslation(Vector3f location) {
         public void setLocalTranslation(Vector3f location) {
             super.setLocalTranslation(location);
             super.setLocalTranslation(location);
-            audio.setLocalTranslation(location);
         }
         }
         
         
         @Override
         @Override
         public void setLocalTranslation(float x, float y, float z) {
         public void setLocalTranslation(float x, float y, float z) {
             super.setLocalTranslation(x, y, z);
             super.setLocalTranslation(x, y, z);
-            audio.setLocalTranslation(x, y, z);
         }
         }
     }
     }