Browse Source

Commenting out MarchingCubes out of SceneUtils.cloneObject.

As a reminded that we need to move all that to the objects themselves...
Mr.doob 13 years ago
parent
commit
468c1a6592
1 changed files with 3 additions and 1 deletions
  1. 3 1
      src/extras/SceneUtils.js

+ 3 - 1
src/extras/SceneUtils.js

@@ -113,11 +113,13 @@ THREE.SceneUtils = {
 
 
 			object = new THREE.LOD();
 			object = new THREE.LOD();
 
 
-		} else if ( THREE.MarchingCubes && source instanceof THREE.MarchingCubes ) {
+		/*
+		} else if ( source instanceof THREE.MarchingCubes ) {
 
 
 			object = new THREE.MarchingCubes( source.resolution, source.material );
 			object = new THREE.MarchingCubes( source.resolution, source.material );
 			object.field.set( source.field );
 			object.field.set( source.field );
 			object.isolation = source.isolation;
 			object.isolation = source.isolation;
+		*/
 
 
 		} else if ( source instanceof THREE.Object3D ) {
 		} else if ( source instanceof THREE.Object3D ) {