Refactor position handling in CopyPasteControls3D and DuplicationControls3D; update useRetrieveHandler to include machine and human event management; implement event handlers for model interactions in useEventHandlers.

This commit is contained in:
2025-07-29 11:24:46 +05:30
parent 7d29228541
commit 253b3db2ed
6 changed files with 355 additions and 16 deletions

View File

@@ -213,7 +213,7 @@ const CopyPasteControls3D = ({
modelUuid: pastedAsset.userData.modelUuid,
modelName: pastedAsset.userData.modelName,
assetId: pastedAsset.userData.assetId,
position: asset.position,
position: [position.x, position.y, position.z],
rotation: { x: asset.rotation[0], y: asset.rotation[1], z: asset.rotation[2] },
isLocked: false,
isVisible: true,