|
@@ -3,7 +3,7 @@
|
|
|
* Copyright 2010-2023 Three.js Authors
|
|
|
* SPDX-License-Identifier: MIT
|
|
|
*/
|
|
|
-const REVISION = '149';
|
|
|
+const REVISION = '150dev';
|
|
|
const MOUSE = { LEFT: 0, MIDDLE: 1, RIGHT: 2, ROTATE: 0, DOLLY: 1, PAN: 2 };
|
|
|
const TOUCH = { ROTATE: 0, PAN: 1, DOLLY_PAN: 2, DOLLY_ROTATE: 3 };
|
|
|
const CullFaceNone = 0;
|
|
@@ -44211,8 +44211,13 @@ class Audio extends Object3D {
|
|
|
|
|
|
this._progress = 0;
|
|
|
|
|
|
- this.source.stop();
|
|
|
- this.source.onended = null;
|
|
|
+ if ( this.source !== null ) {
|
|
|
+
|
|
|
+ this.source.stop();
|
|
|
+ this.source.onended = null;
|
|
|
+
|
|
|
+ }
|
|
|
+
|
|
|
this.isPlaying = false;
|
|
|
|
|
|
return this;
|
|
@@ -45025,7 +45030,7 @@ class PropertyBinding {
|
|
|
this.path = path;
|
|
|
this.parsedPath = parsedPath || PropertyBinding.parseTrackName( path );
|
|
|
|
|
|
- this.node = PropertyBinding.findNode( rootNode, this.parsedPath.nodeName ) || rootNode;
|
|
|
+ this.node = PropertyBinding.findNode( rootNode, this.parsedPath.nodeName );
|
|
|
|
|
|
this.rootNode = rootNode;
|
|
|
|
|
@@ -45341,7 +45346,7 @@ class PropertyBinding {
|
|
|
|
|
|
if ( ! targetObject ) {
|
|
|
|
|
|
- targetObject = PropertyBinding.findNode( this.rootNode, parsedPath.nodeName ) || this.rootNode;
|
|
|
+ targetObject = PropertyBinding.findNode( this.rootNode, parsedPath.nodeName );
|
|
|
|
|
|
this.node = targetObject;
|
|
|
|