提交 b90267dd 编写于 作者: M Mr.doob

Fixed compiler warning.

上级 2f697e21
......@@ -10,7 +10,8 @@ THREE.SkeletonHelper = function ( skeleton, jointBoxSize, scaleRatio ) {
this.scaleRatio = ( scaleRatio !== undefined ) ? scaleRatio : 1;
this.skeleton = skeleton;
var jointBoxSize = ( jointBoxSize !== undefined ) ? jointBoxSize : 1;
if ( jointBoxSize === undefined ) jointBoxSize = 1;
var boxSize = jointBoxSize * this.scaleRatio;
for ( var i = 0; i < skeleton.bones.length; ++i ) {
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册