mirror of
https://github.com/alicevision/Meshroom.git
synced 2025-08-03 16:58:24 +02:00
[Viewer] Viewer2D: Add name of the active SfM node in the SfMStats tooltips
This commit is contained in:
parent
f4418f44c3
commit
01be6d83c3
1 changed files with 4 additions and 2 deletions
|
@ -1197,11 +1197,12 @@ FocusScope {
|
|||
MaterialToolButton {
|
||||
id: displaySfmStatsView
|
||||
property var activeNode: root.aliceVisionPluginAvailable && _reconstruction ? _reconstruction.activeNodes.get('sfm').node : null
|
||||
property bool isComputed: activeNode && activeNode.isComputed
|
||||
|
||||
font.family: MaterialIcons.fontFamily
|
||||
text: MaterialIcons.assessment
|
||||
|
||||
ToolTip.text: "StructureFromMotion Statistics"
|
||||
ToolTip.text: "StructureFromMotion Statistics" + (isComputed ? (": " + activeNode.label) : "")
|
||||
ToolTip.visible: hovered
|
||||
|
||||
font.pointSize: 14
|
||||
|
@ -1222,11 +1223,12 @@ FocusScope {
|
|||
MaterialToolButton {
|
||||
id: displaySfmDataGlobalStats
|
||||
property var activeNode: root.aliceVisionPluginAvailable && _reconstruction ? _reconstruction.activeNodes.get('sfm').node : null
|
||||
property bool isComputed: activeNode && activeNode.isComputed
|
||||
|
||||
font.family: MaterialIcons.fontFamily
|
||||
text: MaterialIcons.language
|
||||
|
||||
ToolTip.text: "StructureFromMotion Global Statistics"
|
||||
ToolTip.text: "StructureFromMotion Global Statistics" + (isComputed ? (": " + activeNode.label) : "")
|
||||
ToolTip.visible: hovered
|
||||
|
||||
font.pointSize: 14
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue