mirror of
https://github.com/alicevision/Meshroom.git
synced 2025-06-01 10:21:59 +02:00
[ui] load 3D depth map: custom label in 3D inspector
This commit is contained in:
parent
125fa8ca17
commit
935a8a2568
4 changed files with 11 additions and 9 deletions
|
@ -1170,14 +1170,17 @@ FocusScope {
|
|||
|
||||
MaterialToolButton {
|
||||
id: displayImageOutputIn3D
|
||||
enabled: root.aliceVisionPluginAvailable && Filepath.basename(root.source).includes("depthMap")
|
||||
enabled: root.aliceVisionPluginAvailable && _reconstruction && displayedNode && Filepath.basename(root.source).includes("depthMap")
|
||||
ToolTip.text: "View Depth Map in 3D"
|
||||
text: MaterialIcons.input
|
||||
font.pointSize: 11
|
||||
Layout.minimumWidth: 0
|
||||
|
||||
onClicked: {
|
||||
root.viewIn3D(root.source);
|
||||
root.viewIn3D(
|
||||
root.source,
|
||||
displayedNode.name + ":" + outputAttribute.name + " " + String(_reconstruction.selectedViewId)
|
||||
);
|
||||
}
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue