[ui] display output 3D files when double clicking on a node

* iterate over output attributes to find an "obj" file
* make default material brighter
This commit is contained in:
Yann Lanthony 2018-01-05 12:13:15 +01:00
parent 76ec5a1913
commit b8f61bf033
6 changed files with 42 additions and 10 deletions

View file

@ -22,6 +22,7 @@ Item {
// signals
signal workspaceMoved()
signal workspaceClicked()
signal nodeDoubleClicked(var node)
clip: true
@ -221,6 +222,7 @@ Item {
onAttributePinCreated: registerAttributePin(attribute, pin)
onPressed: draggable.selectNode(nodeDelegate)
onDoubleClicked: root.nodeDoubleClicked(node)
Keys.onDeletePressed: uigraph.removeNode(node)