Shows menu when dragging connection on empty space in visual shader graph

This commit is contained in:
Chaosus 2019-06-26 21:50:38 +03:00
parent 2c96942df9
commit 0aec3c3113
6 changed files with 88 additions and 7 deletions

View file

@ -211,6 +211,17 @@
Signal sent to the GraphEdit when the connection between 'from_slot' slot of 'from' GraphNode and 'to_slot' slot of 'to' GraphNode is attempted to be created.
</description>
</signal>
<signal name="connection_from_empty">
<argument index="0" name="to" type="String">
</argument>
<argument index="1" name="to_slot" type="int">
</argument>
<argument index="2" name="release_position" type="Vector2">
</argument>
<description>
Signal sent when user dragging connection from input port into empty space of the graph.
</description>
</signal>
<signal name="connection_to_empty">
<argument index="0" name="from" type="String">
</argument>
@ -219,6 +230,7 @@
<argument index="2" name="release_position" type="Vector2">
</argument>
<description>
Signal sent when user dragging connection from output port into empty space of the graph.
</description>
</signal>
<signal name="delete_nodes_request">