mirror of
https://github.com/alicevision/Meshroom.git
synced 2025-06-03 19:31:58 +02:00
[Panorama Viewer] use degrees rotate function
This commit is contained in:
parent
7c8431bc4c
commit
c6b2e2d01f
2 changed files with 8 additions and 7 deletions
|
@ -39,12 +39,10 @@ AliceVision.FloatImageViewer {
|
|||
|
||||
onStatusChanged: {
|
||||
if (viewerTypeString === "panorama") {
|
||||
// Force to update the surface grid after a downscale change
|
||||
surface.rotateSurfaceRadians(
|
||||
_reconstruction.activeNodes.get('SfMTransform').node.attribute("manualTransform.manualRotation.y").value * (3.14 / 180),
|
||||
_reconstruction.activeNodes.get('SfMTransform').node.attribute("manualTransform.manualRotation.x").value * (3.14 / 180))
|
||||
surface.rotateSurfaceDegrees(
|
||||
_reconstruction.activeNodes.get('SfMTransform').node.attribute("manualTransform.manualRotation.y").value,
|
||||
_reconstruction.activeNodes.get('SfMTransform').node.attribute("manualTransform.manualRotation.x").value)
|
||||
}
|
||||
|
||||
root.surface.setIdView(idView);
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue