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
This commit is contained in:
rem..om 2013-07-17 20:13:42 +00:00
parent 7e28558ece
commit b0eb3b31a5

View File

@ -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);
} }
} }