Browse Source

update error message

Lewy Blue 6 years ago
parent
commit
b2d8566d01
1 changed files with 1 additions and 2 deletions
  1. 1 2
      src/objects/Points.js

+ 1 - 2
src/objects/Points.js

@@ -146,7 +146,7 @@ Points.prototype = Object.assign( Object.create( Object3D.prototype ), {
 
 		if ( ! geometry.isBufferGeometry && geometry.morphTargets !== undefined && geometry.morphTargets.length > 0 ) {
 
-			console.error( 'THREE.Mesh.updateMorphTargets() no longer supports THREE.Geometry. Use THREE.BufferGeometry instead.' );
+			console.error( 'THREE.Points.updateMorphTargets() does not support THREE.Geometry. Use THREE.BufferGeometry instead.' );
 
 			return;
 
@@ -187,5 +187,4 @@ Points.prototype = Object.assign( Object.create( Object3D.prototype ), {
 
 } );
 
-
 export { Points };