@needle-tools/three 0.146.3 → 0.146.4

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/build/three.cjs CHANGED
@@ -28882,7 +28882,7 @@ class PropertyBinding {
28882
28882
  constructor(rootNode, path, parsedPath) {
28883
28883
  this.path = path;
28884
28884
  this.parsedPath = parsedPath || PropertyBinding.parseTrackName(path);
28885
- this.node = PropertyBinding.findNode(rootNode, this.parsedPath.nodeName) || rootNode;
28885
+ this.node = PropertyBinding.findNode(rootNode, this.parsedPath.nodeName);
28886
28886
  this.rootNode = rootNode;
28887
28887
 
28888
28888
  // initial state of these methods that calls 'bind'
@@ -29076,7 +29076,7 @@ class PropertyBinding {
29076
29076
  const propertyName = parsedPath.propertyName;
29077
29077
  let propertyIndex = parsedPath.propertyIndex;
29078
29078
  if (!targetObject) {
29079
- targetObject = PropertyBinding.findNode(this.rootNode, parsedPath.nodeName) || this.rootNode;
29079
+ targetObject = PropertyBinding.findNode(this.rootNode, parsedPath.nodeName);
29080
29080
  this.node = targetObject;
29081
29081
  }
29082
29082
 
package/build/three.js CHANGED
@@ -28884,7 +28884,7 @@
28884
28884
  constructor(rootNode, path, parsedPath) {
28885
28885
  this.path = path;
28886
28886
  this.parsedPath = parsedPath || PropertyBinding.parseTrackName(path);
28887
- this.node = PropertyBinding.findNode(rootNode, this.parsedPath.nodeName) || rootNode;
28887
+ this.node = PropertyBinding.findNode(rootNode, this.parsedPath.nodeName);
28888
28888
  this.rootNode = rootNode;
28889
28889
 
28890
28890
  // initial state of these methods that calls 'bind'
@@ -29078,7 +29078,7 @@
29078
29078
  const propertyName = parsedPath.propertyName;
29079
29079
  let propertyIndex = parsedPath.propertyIndex;
29080
29080
  if (!targetObject) {
29081
- targetObject = PropertyBinding.findNode(this.rootNode, parsedPath.nodeName) || this.rootNode;
29081
+ targetObject = PropertyBinding.findNode(this.rootNode, parsedPath.nodeName);
29082
29082
  this.node = targetObject;
29083
29083
  }
29084
29084