File tree Expand file tree Collapse file tree 1 file changed +3
-3
lines changed
Expand file tree Collapse file tree 1 file changed +3
-3
lines changed Original file line number Diff line number Diff line change @@ -504,7 +504,7 @@ $(function() {
504504 if ( shape . name !== child . name ) {
505505 return ;
506506 }
507- shape_center = shape . centroid
507+ shape_center = shape . centroid ;
508508 } ) ;
509509 } ) ;
510510
@@ -1626,7 +1626,7 @@ $(function() {
16261626 viewer . loadModelFromFile ( document . getElementById ( "objfile" ) , {
16271627 format : format ,
16281628 complete : function ( ) {
1629- hideLoading ;
1629+ hideLoading ( ) ;
16301630 viewer . modelCentric ( ) ;
16311631 picked_coords = viewer . model . userData . model_center ;
16321632 }
@@ -2285,7 +2285,7 @@ $(function() {
22852285 function changeCenterRotation ( center ) {
22862286 user_defined_grid_partitions = "no" ;
22872287 user_defined_grid_length = "no" ;
2288- if ( ! ( two_models_toggle < 2 ) ) {
2288+ if ( two_models_toggle >= 2 ) {
22892289 return ;
22902290 }
22912291 viewer . changeCenterRotation ( center ) ;
You can’t perform that action at this time.
0 commit comments