mirror of
https://github.com/godotengine/godot.git
synced 2025-12-08 06:09:55 +00:00
More improvements to visual script..
fixed a bug of not saving when sub-nodes changed.
This commit is contained in:
parent
5567350e1b
commit
fc70824f7c
17 changed files with 171 additions and 29 deletions
|
|
@ -13,6 +13,7 @@ class VisualScriptEditorVariableEdit;
|
|||
|
||||
#ifdef TOOLS_ENABLED
|
||||
|
||||
|
||||
class VisualScriptEditor : public ScriptEditorBase {
|
||||
OBJ_TYPE(VisualScriptEditor,ScriptEditorBase)
|
||||
|
||||
|
|
@ -109,7 +110,9 @@ class VisualScriptEditor : public ScriptEditorBase {
|
|||
|
||||
Set<VisualScript::SequenceConnection> sequence_connections;
|
||||
Set<VisualScript::DataConnection> data_connections;
|
||||
} clipboard;
|
||||
};
|
||||
|
||||
static Clipboard *clipboard;
|
||||
|
||||
|
||||
int error_line;
|
||||
|
|
@ -203,6 +206,8 @@ public:
|
|||
|
||||
static void register_editor();
|
||||
|
||||
static void free_clipboard();
|
||||
|
||||
VisualScriptEditor();
|
||||
~VisualScriptEditor();
|
||||
};
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue