Implement copy/paste in visual shaders

This commit is contained in:
Chaosus
2019-07-12 20:36:33 +03:00
parent dfa324eb8e
commit f704506807
4 changed files with 152 additions and 28 deletions

View File

@@ -233,6 +233,9 @@
Signal sent when user dragging connection from output port into empty space of the graph.
</description>
</signal>
<signal name="copy_nodes_request">
Signal sent when the user presses [code]Ctrl + C[/code].
</signal>
<signal name="delete_nodes_request">
<description>
Signal sent when a GraphNode is attempted to be removed from the GraphEdit.
@@ -263,6 +266,9 @@
Emitted when a GraphNode is selected.
</description>
</signal>
<signal name="paste_nodes_request">
Signal sent when the user presses [code]Ctrl + V[/code].
</signal>
<signal name="popup_request">
<argument index="0" name="position" type="Vector2">
</argument>