|
@@ -106,11 +106,12 @@ PositionalAudio.prototype = Object.assign( Object.create( Audio.prototype ), {
|
|
|
|
|
|
if ( this.isPlaying === false ) return;
|
|
|
|
|
|
- var panner = this.panner;
|
|
|
this.matrixWorld.decompose( position, quaternion, scale );
|
|
|
|
|
|
orientation.set( 0, 0, 1 ).applyQuaternion( quaternion );
|
|
|
|
|
|
+ var panner = this.panner;
|
|
|
+
|
|
|
if ( panner.positionX ) {
|
|
|
|
|
|
// code path for Chrome and Firefox (see #14393)
|