SoundEvent now sets the underlying audioNode to not be positional

git-svn-id: https://jmonkeyengine.googlecode.com/svn/trunk@9996 75d07b2b-3a1a-0410-a2c5-0572b91ccdca
3.0
rem..om 12 years ago
parent 2e35519182
commit d8213d15b6
  1. 1
      engine/src/core/com/jme3/cinematic/events/SoundEvent.java

@ -109,6 +109,7 @@ public class SoundEvent extends AbstractCinematicEvent {
public void initEvent(Application app, Cinematic cinematic) {
super.initEvent(app, cinematic);
audioNode = new AudioNode(app.getAssetManager(), path, stream);
audioNode.setPositional(false);
setLoopMode(loopMode);
}

Loading…
Cancel
Save