mirror of
https://github.com/alicevision/Meshroom.git
synced 2025-06-03 03:11:56 +02:00
[Panorama Viewer] Allow undo on manual changes
This commit is contained in:
parent
28e90c0437
commit
b998b49391
1 changed files with 2 additions and 2 deletions
|
@ -142,8 +142,8 @@ AliceVision.PanoramaViewer {
|
|||
root.yaw = repeater.itemAt(0).item.surface.getYaw();
|
||||
root.pitch = repeater.itemAt(0).item.surface.getPitch();
|
||||
|
||||
activeNode.attribute("manualTransform.manualRotation.y").value = root.yaw;
|
||||
activeNode.attribute("manualTransform.manualRotation.x").value = root.pitch;
|
||||
_reconstruction.setAttribute(activeNode.attribute("manualTransform.manualRotation.y"), root.yaw);
|
||||
_reconstruction.setAttribute(activeNode.attribute("manualTransform.manualRotation.x"), root.pitch);
|
||||
}
|
||||
|
||||
isRotating = false;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue