Bläddra i källkod

Don't throw on empty glyph

* remove the Shapebb property
gero3 11 år sedan
förälder
incheckning
067db40b95
1 ändrade filer med 0 tillägg och 7 borttagningar
  1. 0 7
      src/extras/geometries/ExtrudeGeometry.js

+ 0 - 7
src/extras/geometries/ExtrudeGeometry.js

@@ -35,8 +35,6 @@ THREE.ExtrudeGeometry = function ( shapes, options ) {
 
 	shapes = shapes instanceof Array ? shapes : [ shapes ];
 
-	this.shapebb = shapes[ shapes.length - 1 ].getBoundingBox();
-
 	this.addShapeList( shapes, options );
 
 	this.computeFaceNormals();
@@ -85,11 +83,6 @@ THREE.ExtrudeGeometry.prototype.addShape = function ( shape, options ) {
 	// Use default WorldUVGenerator if no UV generators are specified.
 	var uvgen = options.UVGenerator !== undefined ? options.UVGenerator : THREE.ExtrudeGeometry.WorldUVGenerator;
 
-	var shapebb = this.shapebb;
-	//shapebb = shape.getBoundingBox();
-
-
-
 	var splineTube, binormal, normal, position2;
 	if ( extrudePath ) {