summaryrefslogtreecommitdiff
path: root/modules
diff options
context:
space:
mode:
authorRémi Verschelde <rverschelde@gmail.com>2019-06-17 23:13:08 +0200
committerGitHub <noreply@github.com>2019-06-17 23:13:08 +0200
commit0ac3687d6fe3bfa90f5cfbdf7c28752de1b627f0 (patch)
tree22022175ddffa8140b268feae8ed4648223a7482 /modules
parentd8d7222ffbb9732f09803dae476f93c48605b4bd (diff)
parentaabd9980d17492224c6c221077fbae305d80cb0b (diff)
Merge pull request #28766 from pgoral/editor_validation_issue
Changing method signature in other class in not recognized in working…
Diffstat (limited to 'modules')
-rw-r--r--modules/visual_script/visual_script_editor.cpp3
-rw-r--r--modules/visual_script/visual_script_editor.h1
2 files changed, 4 insertions, 0 deletions
diff --git a/modules/visual_script/visual_script_editor.cpp b/modules/visual_script/visual_script_editor.cpp
index f84f2c90cd..7c3bad6785 100644
--- a/modules/visual_script/visual_script_editor.cpp
+++ b/modules/visual_script/visual_script_editor.cpp
@@ -3759,4 +3759,7 @@ void _VisualScriptEditor::_bind_methods() {
ClassDB::bind_method(D_METHOD("remove_custom_node", "name", "category"), &_VisualScriptEditor::remove_custom_node);
ADD_SIGNAL(MethodInfo("custom_nodes_updated"));
}
+
+void VisualScriptEditor::validate() {
+}
#endif
diff --git a/modules/visual_script/visual_script_editor.h b/modules/visual_script/visual_script_editor.h
index 6072e77342..b66d10021a 100644
--- a/modules/visual_script/visual_script_editor.h
+++ b/modules/visual_script/visual_script_editor.h
@@ -281,6 +281,7 @@ public:
virtual Control *get_edit_menu();
virtual void clear_edit_menu();
virtual bool can_lose_focus_on_node_selection() { return false; }
+ virtual void validate();
static void register_editor();