Explorar el Código

remove Geometry warning

Lewy Blue hace 6 años
padre
commit
6f82a77b33
Se han modificado 1 ficheros con 0 adiciones y 8 borrados
  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 );