Refactor success notifications to use echo instead of toast; update selection controls and duplication logic

- Changed success notifications from `toast.success` to `echo.success` in copy, duplication, move, rotate, and selection controls.
- Updated selection logic in `PostProcessing` to use `flattenChildren` for better performance.
- Enhanced `Simulator` component to handle selected product state and execution order more effectively.
- Modified `useSelectedItem` state to include `category` and `subCategory` properties for better item classification.
- Adjusted `WallItem` interface to standardize type values and added `modelfileID` for improved asset management.
This commit is contained in:
2025-05-13 17:21:52 +05:30
parent 48fc770b51
commit 2c67081173
28 changed files with 1257 additions and 1207 deletions

View File

@@ -265,7 +265,7 @@ function RotateControls({ rotatedObjects, setRotatedObjects, movedObjects, setMo
itemsGroupRef.current.add(obj);
}
});
toast.success("Object rotated!");
echo.success("Object rotated!");
itemsData.current = [];
clearSelection();