|
@@ -118,7 +118,7 @@ class Material extends EventDispatcher {
|
|
|
|
|
|
if ( newValue === undefined ) {
|
|
|
|
|
|
- console.warn( 'THREE.Material: \'' + key + '\' parameter is undefined.' );
|
|
|
+ console.warn( `THREE.Material: parameter '${ key }' has value of undefined.` );
|
|
|
continue;
|
|
|
|
|
|
}
|
|
@@ -127,7 +127,7 @@ class Material extends EventDispatcher {
|
|
|
|
|
|
if ( currentValue === undefined ) {
|
|
|
|
|
|
- console.warn( 'THREE.' + this.type + ': \'' + key + '\' is not a property of this material.' );
|
|
|
+ console.warn( `THREE.Material: '${ key }' is not a property of THREE.${ this.type }.` );
|
|
|
continue;
|
|
|
|
|
|
}
|