瀏覽代碼

remove Geometry warning

Lewy Blue 6 年之前
父節點
當前提交
6f82a77b33
共有 1 個文件被更改,包括 0 次插入8 次删除
  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 );