|
@@ -480,7 +480,7 @@ Object.assign( PropertyBinding.prototype, { // prototype, continued
|
|
|
// ensure there is a value node
|
|
|
if ( ! targetObject ) {
|
|
|
|
|
|
- console.error( " trying to update node for track: " + this.path + " but it wasn't found." );
|
|
|
+ console.error( 'THREE.PropertyBinding: Trying to update node for track: ' + this.path + ' but it wasn\'t found.' );
|
|
|
return;
|
|
|
|
|
|
}
|
|
@@ -496,14 +496,14 @@ Object.assign( PropertyBinding.prototype, { // prototype, continued
|
|
|
|
|
|
if ( ! targetObject.material ) {
|
|
|
|
|
|
- console.error( ' can not bind to material as node does not have a material', this );
|
|
|
+ console.error( 'THREE.PropertyBinding: Can not bind to material as node does not have a material.', this );
|
|
|
return;
|
|
|
|
|
|
}
|
|
|
|
|
|
if ( ! targetObject.material.materials ) {
|
|
|
|
|
|
- console.error( ' can not bind to material.materials as node.material does not have a materials array', this );
|
|
|
+ console.error( 'THREE.PropertyBinding: Can not bind to material.materials as node.material does not have a materials array.', this );
|
|
|
return;
|
|
|
|
|
|
}
|
|
@@ -516,7 +516,7 @@ Object.assign( PropertyBinding.prototype, { // prototype, continued
|
|
|
|
|
|
if ( ! targetObject.skeleton ) {
|
|
|
|
|
|
- console.error( ' can not bind to bones as node does not have a skeleton', this );
|
|
|
+ console.error( 'THREE.PropertyBinding: Can not bind to bones as node does not have a skeleton.', this );
|
|
|
return;
|
|
|
|
|
|
}
|
|
@@ -544,7 +544,7 @@ Object.assign( PropertyBinding.prototype, { // prototype, continued
|
|
|
|
|
|
if ( targetObject[ objectName ] === undefined ) {
|
|
|
|
|
|
- console.error( ' can not bind to objectName of node, undefined', this );
|
|
|
+ console.error( 'THREE.PropertyBinding: Can not bind to objectName of node undefined.', this );
|
|
|
return;
|
|
|
|
|
|
}
|
|
@@ -558,7 +558,7 @@ Object.assign( PropertyBinding.prototype, { // prototype, continued
|
|
|
|
|
|
if ( targetObject[ objectIndex ] === undefined ) {
|
|
|
|
|
|
- console.error( " trying to bind to objectIndex of objectName, but is undefined:", this, targetObject );
|
|
|
+ console.error( 'THREE.PropertyBinding: Trying to bind to objectIndex of objectName, but is undefined.', this, targetObject );
|
|
|
return;
|
|
|
|
|
|
}
|
|
@@ -576,8 +576,8 @@ Object.assign( PropertyBinding.prototype, { // prototype, continued
|
|
|
|
|
|
var nodeName = parsedPath.nodeName;
|
|
|
|
|
|
- console.error( " trying to update property for track: " + nodeName +
|
|
|
- '.' + propertyName + " but it wasn't found.", targetObject );
|
|
|
+ console.error( 'THREE.PropertyBinding: Trying to update property for track: ' + nodeName +
|
|
|
+ '.' + propertyName + ' but it wasn\'t found.', targetObject );
|
|
|
return;
|
|
|
|
|
|
}
|
|
@@ -611,7 +611,7 @@ Object.assign( PropertyBinding.prototype, { // prototype, continued
|
|
|
// support resolving morphTarget names into indices.
|
|
|
if ( ! targetObject.geometry ) {
|
|
|
|
|
|
- console.error( ' can not bind to morphTargetInfluences becasuse node does not have a geometry', this );
|
|
|
+ console.error( 'THREE.PropertyBinding: Can not bind to morphTargetInfluences because node does not have a geometry.', this );
|
|
|
return;
|
|
|
|
|
|
}
|
|
@@ -620,7 +620,7 @@ Object.assign( PropertyBinding.prototype, { // prototype, continued
|
|
|
|
|
|
if ( ! targetObject.geometry.morphAttributes ) {
|
|
|
|
|
|
- console.error( ' can not bind to morphTargetInfluences becasuse node does not have a geometry.morphAttributes', this );
|
|
|
+ console.error( 'THREE.PropertyBinding: Can not bind to morphTargetInfluences because node does not have a geometry.morphAttributes.', this );
|
|
|
return;
|
|
|
|
|
|
}
|
|
@@ -641,7 +641,7 @@ Object.assign( PropertyBinding.prototype, { // prototype, continued
|
|
|
|
|
|
if ( ! targetObject.geometry.morphTargets ) {
|
|
|
|
|
|
- console.error( ' can not bind to morphTargetInfluences becasuse node does not have a geometry.morphTargets', this );
|
|
|
+ console.error( 'THREE.PropertyBinding: Can not bind to morphTargetInfluences because node does not have a geometry.morphTargets.', this );
|
|
|
return;
|
|
|
|
|
|
}
|