You've already forked godot
mirror of
https://github.com/godotengine/godot.git
synced 2025-11-29 16:16:38 +00:00
Fixes the copy paste issue in the visual script editor.
Moves copy and paste in their own functions so copy_nodes_request and paste_nodes_request are able to work.
Applies paste offset to the last mouse clicked position.
(cherry picked from commit fb7c23f30b)
This commit is contained in:
committed by
Rémi Verschelde
parent
d9ad611639
commit
467c2c5d4b
@@ -255,6 +255,8 @@ class VisualScriptEditor : public ScriptEditorBase {
|
||||
void _node_item_selected();
|
||||
void _node_item_unselected();
|
||||
|
||||
void _on_nodes_copy();
|
||||
void _on_nodes_paste();
|
||||
void _on_nodes_delete();
|
||||
void _on_nodes_duplicate();
|
||||
|
||||
|
||||
Reference in New Issue
Block a user