[PanoramaViewer] Change function calls to adapt to surface change in cpp

This commit is contained in:
Landrodie 2021-06-09 11:16:10 +02:00 committed by Fabien Castan
parent 634d8a20b6
commit e642b970ec
2 changed files with 3 additions and 3 deletions

View file

@ -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;