added individual rotation to rotation controls

This commit is contained in:
2025-08-26 12:33:31 +05:30
parent 06b6b3d0ce
commit bb2a27e2f9

View File

@@ -403,6 +403,7 @@ function RotateControls3D() {
} }
setIsRotating(false); setIsRotating(false);
setIsIndividualRotating(false);
clearSelection(); clearSelection();
}, [rotatedObjects, eventStore, productStore, selectedProduct, updateBackend, projectId, updateAsset, organization, socket, selectedVersion, userId, initialPositions, initialRotations]); }, [rotatedObjects, eventStore, productStore, selectedProduct, updateBackend, projectId, updateAsset, organization, socket, selectedVersion, userId, initialPositions, initialRotations]);
@@ -412,6 +413,7 @@ function RotateControls3D() {
setMovedObjects([]); setMovedObjects([]);
setRotatedObjects([]); setRotatedObjects([]);
setSelectedAssets([]); setSelectedAssets([]);
setIsIndividualRotating(false);
}; };
return null; return null;