mirror of
https://github.com/alicevision/Meshroom.git
synced 2025-08-01 15:58:36 +02:00
[ui] Eye displayed for node with sequence output
This commit is contained in:
parent
aacacb1d65
commit
9acc0a7492
1 changed files with 3 additions and 3 deletions
|
@ -327,7 +327,7 @@ Item {
|
|||
|
||||
MaterialLabel {
|
||||
id: nodeImageOutput
|
||||
visible: (node.hasImageOutput || node.has3DOutput)
|
||||
visible: (node.hasImageOutput || node.has3DOutput || node.hasSequenceOutput)
|
||||
text: MaterialIcons.visibility
|
||||
padding: 2
|
||||
font.pointSize: 7
|
||||
|
@ -339,9 +339,9 @@ Item {
|
|||
parent: header
|
||||
visible: nodeImageOutputMA.containsMouse && nodeImageOutput.visible
|
||||
text: {
|
||||
if (node.hasImageOutput && !node.has3DOutput)
|
||||
if ((node.hasImageOutput || node.hasSequenceOutput) && !node.has3DOutput)
|
||||
return nodeImageOutput.displayable ? "Double-click on this node to load its outputs in the Image Viewer." : "This node has image outputs."
|
||||
else if (node.has3DOutput && !node.hasImageOutput)
|
||||
else if (node.has3DOutput && !node.hasImageOutput && !node.hasSequenceOutput)
|
||||
return nodeImageOutput.displayable ? "Double-click on this node to load its outputs in the 3D Viewer." : "This node has 3D outputs."
|
||||
else // Handle case where a node might have both 2D and 3D outputs
|
||||
return nodeImageOutput.displayable ? "Double-click on this node to load its outputs in the Image or 3D Viewer." : "This node has image and 3D outputs."
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue