Skip to content

Commit

Permalink
ISSUE #4642 - Fixed bug that was resetting the transformations when e…
Browse files Browse the repository at this point in the history
…diting the groups
  • Loading branch information
sanmont3drepo committed Jan 17, 2024
1 parent 06815df commit 283a294
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -194,7 +194,7 @@ export const TicketGroups = ({ value, onChange, onBlur }: TicketGroupsProps) =>
}, [hasClearedOverrides]);

useEffect(() => {
dispatch(ViewpointsActions.setSelectedViewpoint(null));
dispatch(ViewpointsActions.clearColorOverrides());

ViewerService.on(VIEWER_EVENTS.BACKGROUND_SELECTED, clearHighlightedIndex);
return () => ViewerService.off(VIEWER_EVENTS.BACKGROUND_SELECTED, clearHighlightedIndex);
Expand Down

0 comments on commit 283a294

Please sign in to comment.