mirror of
https://github.com/alicevision/Meshroom.git
synced 2025-07-24 20:17:17 +02:00
[Panorama Viewer] clean up panorama code
This commit is contained in:
parent
4aa5151af3
commit
c06273d2cc
3 changed files with 14 additions and 23 deletions
|
@ -59,7 +59,7 @@ AliceVision.PanoramaViewer {
|
|||
|
||||
property var activeNode: _reconstruction.activeNodes.get('SfMTransform').node
|
||||
|
||||
// Yaw and Pitch in Degrees from SfMTransform sliders
|
||||
// Yaw and Pitch in Degrees from SfMTransform node sliders
|
||||
property int yawNode: activeNode.attribute("manualTransform.manualRotation.y").value;
|
||||
property int pitchNode: activeNode.attribute("manualTransform.manualRotation.x").value;
|
||||
|
||||
|
@ -181,15 +181,7 @@ AliceVision.PanoramaViewer {
|
|||
|
||||
function updateSfmPath() {
|
||||
var activeNode = _reconstruction.activeNodes.get('SfMTransform').node;
|
||||
|
||||
if(!activeNode)
|
||||
{
|
||||
root.sfmPath = "";
|
||||
}
|
||||
else
|
||||
{
|
||||
root.sfmPath = activeNode.attribute("input").value;
|
||||
}
|
||||
root.sfmPath = (activeNode) ? activeNode.attribute("input").value : "";
|
||||
}
|
||||
|
||||
property var pathList : []
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue