Skip to content

Commit 941e9db

Browse files
author
sanmont3drepo
committed
ISSUE #4642 - Fixed bug that was resetting the transformations when editing the groups
1 parent b1d20cb commit 941e9db

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

frontend/src/v5/ui/routes/viewer/tickets/ticketsForm/ticketGroups/ticketGroups.component.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -194,7 +194,7 @@ export const TicketGroups = ({ value, onChange, onBlur }: TicketGroupsProps) =>
194194
}, [hasClearedOverrides]);
195195

196196
useEffect(() => {
197-
dispatch(ViewpointsActions.setSelectedViewpoint(null));
197+
dispatch(ViewpointsActions.clearColorOverrides());
198198

199199
ViewerService.on(VIEWER_EVENTS.BACKGROUND_SELECTED, clearHighlightedIndex);
200200
return () => ViewerService.off(VIEWER_EVENTS.BACKGROUND_SELECTED, clearHighlightedIndex);

0 commit comments

Comments
 (0)