浏览代码

Fix computeBoundingSphere for relative morph targets

Arseny Kapoulkine 5 年之前
父节点
当前提交
aa660bc6c7
共有 1 个文件被更改,包括 2 次插入2 次删除
  1. 2 2
      src/core/BufferGeometry.js

+ 2 - 2
src/core/BufferGeometry.js

@@ -657,8 +657,8 @@ BufferGeometry.prototype = Object.assign( Object.create( EventDispatcher.prototy
 
 					if ( this.morphTargetsRelative ) {
 
-						_box.boundingBox.expandByVector( _boxMorphTargets.min );
-						_box.boundingBox.expandByVector( _boxMorphTargets.max );
+						_box.expandByVector( _boxMorphTargets.min );
+						_box.expandByVector( _boxMorphTargets.max );
 
 					} else {