Browse Source

remove Geometry warning

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

+ 0 - 8
src/objects/Points.js

@@ -143,14 +143,6 @@ Points.prototype = Object.assign( Object.create( Object3D.prototype ), {
 		var geometry = this.geometry;
 		var m, ml, name;
 
-		if ( ! geometry.isBufferGeometry && geometry.morphTargets !== undefined && geometry.morphTargets.length > 0 ) {
-
-			console.error( 'THREE.Points.updateMorphTargets() does not support THREE.Geometry. Use THREE.BufferGeometry instead.' );
-
-			return;
-
-		}
-
 		var morphAttributes = geometry.morphAttributes;
 		var keys = Object.keys( morphAttributes );