Skip to content

Commit

Permalink
Editor: Clean up.
Browse files Browse the repository at this point in the history
  • Loading branch information
mrdoob committed Dec 23, 2021
1 parent 095233f commit a759644
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion editor/js/Editor.js
Original file line number Diff line number Diff line change
Expand Up @@ -424,7 +424,7 @@ Editor.prototype = {

helper = new THREE.SkeletonHelper( object.skeleton.bones[ 0 ] );

} else if ( object.isBone && ( object.parent?.isBone !== true ) ) {
} else if ( object.isBone === true && object.parent?.isBone !== true ) {

helper = new THREE.SkeletonHelper( object );

Expand Down

0 comments on commit a759644

Please sign in to comment.