|
@@ -131,7 +131,6 @@ Box3.prototype = {
|
|
|
return function setFromObject( object ) {
|
|
|
|
|
|
var scope = this;
|
|
|
- var i, l;
|
|
|
|
|
|
object.updateMatrixWorld( true );
|
|
|
|
|
@@ -139,6 +138,8 @@ Box3.prototype = {
|
|
|
|
|
|
object.traverse( function ( node ) {
|
|
|
|
|
|
+ var i, l;
|
|
|
+
|
|
|
var geometry = node.geometry;
|
|
|
|
|
|
if ( geometry !== undefined ) {
|