Browse Source

Merge pull request #10626 from FrozenRiverSnow/dev

Update PropertyBinding.js
Mr.doob 8 years ago
parent
commit
7966036dfe
1 changed files with 1 additions and 1 deletions
  1. 1 1
      src/animation/PropertyBinding.js

+ 1 - 1
src/animation/PropertyBinding.js

@@ -237,7 +237,7 @@ PropertyBinding.prototype = {
 
 			this.resolvedProperty = nodeProperty;
 
-		} else if ( nodeProperty.length !== undefined ) {
+		} else if ( Array.isArray( nodeProperty ) ) {
 
 			bindingType = this.BindingType.EntireArray;