mirror of
https://github.com/alicevision/Meshroom.git
synced 2025-07-24 20:17:17 +02:00
[ui] add CompatibilityBadge on CompatibilityNodes
* add badge icon on nodes in GraphEditor * add badge banner in AttributeEditor with upgrade button when available
This commit is contained in:
parent
ca712ef2aa
commit
0128cd56f0
5 changed files with 126 additions and 3 deletions
|
@ -442,6 +442,14 @@ ApplicationWindow {
|
|||
node: graphEditor.selectedNode
|
||||
// Make AttributeEditor readOnly when computing
|
||||
readOnly: _reconstruction.computing
|
||||
|
||||
onUpgradeRequest: {
|
||||
var delegate = graphEditor.nodeDelegate(node.name)
|
||||
var posX = delegate.x
|
||||
var posY = delegate.y
|
||||
_reconstruction.upgradeNode(node)
|
||||
graphEditor.moveNode(node.name, posX, posY)
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue