mirror of
https://github.com/alicevision/Meshroom.git
synced 2025-05-31 09:56:32 +02:00
[ui] GraphEditor: solo 3D media with Double Click + Control modifier
* allow to solo a 3D media from the GraphEditor by double clicking on a node or an attribute with the Control modifier pressed * consistent with Viewer3D.MediaLibrary behavior (solo on Ctrl+Click on visibility button) * handle supported file extensions in Viewer3DSettings
This commit is contained in:
parent
4541d825ad
commit
b5c985b3fb
8 changed files with 46 additions and 30 deletions
|
@ -21,7 +21,7 @@ Item {
|
|||
// signals
|
||||
signal workspaceMoved()
|
||||
signal workspaceClicked()
|
||||
signal nodeDoubleClicked(var node)
|
||||
signal nodeDoubleClicked(var mouse, var node)
|
||||
|
||||
// trigger initial fit() after initialization
|
||||
// (ensure GraphEditor has its final size)
|
||||
|
@ -409,7 +409,7 @@ Item {
|
|||
}
|
||||
}
|
||||
|
||||
onDoubleClicked: root.nodeDoubleClicked(node)
|
||||
onDoubleClicked: root.nodeDoubleClicked(mouse, node)
|
||||
|
||||
onMoved: uigraph.moveNode(node, position)
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue