rotational snap added

This commit is contained in:
2025-08-14 18:13:28 +05:30
parent 922085ec6c
commit a8c6f8d80a
3 changed files with 117 additions and 27 deletions

View File

@@ -23,7 +23,6 @@ export function useHumanEventManager() {
}, [isReset, isPlaying]);
const addHumanToMonitor = (humanId: string, callback: () => void, actionUuid: string) => {
console.log('humanId: ', humanId);
const human = getHumanById(humanId);
const action = getActionByUuid(selectedProduct.productUuid, actionUuid);
if (!human || !action || (action.actionType !== 'assembly' && action.actionType !== 'worker' && action.actionType !== 'operator') || !humanEventManagerRef.current) return;