@@ -8,7 +8,7 @@ function BlendCharacterGui(animations) {
88
99 gui : null ,
1010 "Lock Camera" : false ,
11- "Show Bones " : false ,
11+ "Show Skeleton " : true ,
1212 "Time Scale" : 1.0 ,
1313 "Step Size" : 0.016 ,
1414 "Crossfade Time" : 3.5 ,
@@ -20,9 +20,9 @@ function BlendCharacterGui(animations) {
2020
2121 var animations = animations ;
2222
23- this . shouldShowBones = function ( ) {
23+ this . showSkeleton = function ( ) {
2424
25- return controls [ 'Show Bones ' ] ;
25+ return controls [ 'Show Skeleton ' ] ;
2626
2727 } ;
2828
@@ -49,7 +49,7 @@ function BlendCharacterGui(animations) {
4949 var blending = controls . gui . addFolder ( 'Blend Tuning' ) ;
5050
5151 settings . add ( controls , "Lock Camera" ) . onChange ( controls . lockCameraChanged ) ;
52- settings . add ( controls , "Show Bones " ) . onChange ( controls . showBonesChanged ) ;
52+ settings . add ( controls , "Show Skeleton " ) . onChange ( controls . showSkeletonChanged ) ;
5353 settings . add ( controls , "Time Scale" , 0 , 1 , 0.01 ) ;
5454 settings . add ( controls , "Step Size" , 0.01 , 0.1 , 0.01 ) ;
5555 settings . add ( controls , "Crossfade Time" , 0.1 , 6.0 , 0.05 ) ;
@@ -177,15 +177,15 @@ function BlendCharacterGui(animations) {
177177 window . dispatchEvent ( new CustomEvent ( 'toggle-lock-camera' , data ) ) ;
178178 }
179179
180- controls . showBonesChanged = function ( ) {
180+ controls . showSkeletonChanged = function ( ) {
181181
182182 var data = {
183183 detail : {
184- shouldShow : controls [ 'Show Bones ' ]
184+ shouldShow : controls [ 'Show Skeleton ' ]
185185 }
186186 }
187187
188- window . dispatchEvent ( new CustomEvent ( 'toggle-show-bones ' , data ) ) ;
188+ window . dispatchEvent ( new CustomEvent ( 'toggle-show-skeleton ' , data ) ) ;
189189 }
190190
191191
0 commit comments