Browse Source

SkeletonHelper: Reverted call removal. .boundingSphere gets computed before onBeforeRender() gets called.

Mr.doob 8 years ago
parent
commit
83eefab70e
1 changed files with 2 additions and 0 deletions
  1. 2 0
      src/helpers/SkeletonHelper.js

+ 2 - 0
src/helpers/SkeletonHelper.js

@@ -54,6 +54,8 @@ function SkeletonHelper( object ) {
 	this.matrix = object.matrixWorld;
 	this.matrix = object.matrixWorld;
 	this.matrixAutoUpdate = false;
 	this.matrixAutoUpdate = false;
 
 
+	this.onBeforeRender();
+
 }
 }
 
 
 SkeletonHelper.prototype = Object.create( LineSegments.prototype );
 SkeletonHelper.prototype = Object.create( LineSegments.prototype );