added individual rotation to rotation controls
This commit is contained in:
@@ -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;
|
||||||
|
|||||||
Reference in New Issue
Block a user