Selaa lähdekoodia

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 vuotta sitten
vanhempi
commit
b0eb3b31a5

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

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