[Panorama Viewer] isComputed does not affect active property

This commit is contained in:
Thomas Zorroche 2021-07-15 11:08:04 +02:00 committed by Fabien Castan
parent 930d885c5e
commit 86a0953027

View file

@ -619,6 +619,9 @@ FocusScope {
console.warn("ITEEEEMMMMMMMM" + item + " " + active)
}
onIsComputedChanged: {
if (usePanoramaViewer || useLensDistortionViewer)
return;
if(!isComputed)
{
active = false;
@ -873,7 +876,7 @@ FocusScope {
return inputAttrLink.node.isComputed;
}
ToolTip.text: "Panorama Viewer"
ToolTip.text: "Panorama Viewer: " + activeNode.label
text: MaterialIcons.panorama_sphere
font.pointSize: 16
padding: 0