[ui] Inspector3D: double click on media now sets node as "active"

To be consistent with the Graph Editor behavior, double clicking on a node sets it as the active node of its type. This, for example, enables to switch from one SfM to another from the media list.
This commit is contained in:
Yann Lanthony 2019-09-11 10:20:39 +02:00
parent f870e252b4
commit 1c873508ef
No known key found for this signature in database
GPG key ID: 519FAE6DF7A70642
2 changed files with 2 additions and 1 deletions

View file

@ -157,6 +157,7 @@ Item {
mediaLibrary: viewer3D.library
camera: viewer3D.mainCamera
uigraph: reconstruction
onNodeActivated: _reconstruction.setActiveNodeOfType(node)
}
}
}