mirror of
https://github.com/alicevision/Meshroom.git
synced 2025-05-31 09:56:32 +02:00
[PanoramaViewer] Change function calls to adapt to surface change in cpp
This commit is contained in:
parent
634d8a20b6
commit
e642b970ec
2 changed files with 3 additions and 3 deletions
|
@ -152,8 +152,8 @@ AliceVision.PanoramaViewer {
|
|||
// Update Euler angles
|
||||
var activeNode = _reconstruction.activeNodes.get('SfMTransform').node;
|
||||
|
||||
root.yaw = repeater.itemAt(0).item.getYaw();
|
||||
root.pitch = repeater.itemAt(0).item.getPitch();
|
||||
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;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue