Skip to content

Commit

Permalink
Do not reset gesture_plugin.user_data on motion change
Browse files Browse the repository at this point in the history
  • Loading branch information
ButzYung committed Nov 8, 2023
1 parent 0011c6e commit c9fda27
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions js/scene_auto_fit.js
Original file line number Diff line number Diff line change
Expand Up @@ -817,12 +817,12 @@ mc.gestures.custom.finger2_up = finger2_up;


GE = new fp.GestureEstimator(ge_list.map(ge=>mc.gestures.custom[ge[0]]));

/*
window.addEventListener('SA_MMD_model0_onmotionchange', (e)=>{
if (e.detail.motion_old != e.detail.motion_new)
gesture_plugin.user_data = {};
});

*/
initialized = true;
}

Expand Down

0 comments on commit c9fda27

Please sign in to comment.