summaryrefslogtreecommitdiff
path: root/modules/gdnative/nativescript/nativescript.h
diff options
context:
space:
mode:
authorJuan Linietsky <reduzio@gmail.com>2018-11-27 19:55:37 -0300
committerJuan Linietsky <reduzio@gmail.com>2018-11-27 19:55:37 -0300
commit3a93499f899c68db38b68239f227e381e5ded20e (patch)
tree609de32458bc898c34c08f5996862bbac49ca903 /modules/gdnative/nativescript/nativescript.h
parent616b91b498b332c5cace5ed8324eb818d7eb68d2 (diff)
Allow signal connecting even if script is invalid (only when compiled with tools), fixes #17070
Diffstat (limited to 'modules/gdnative/nativescript/nativescript.h')
-rw-r--r--modules/gdnative/nativescript/nativescript.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/modules/gdnative/nativescript/nativescript.h b/modules/gdnative/nativescript/nativescript.h
index 51370f5fbf..e6f3c06ee5 100644
--- a/modules/gdnative/nativescript/nativescript.h
+++ b/modules/gdnative/nativescript/nativescript.h
@@ -160,6 +160,7 @@ public:
virtual MethodInfo get_method_info(const StringName &p_method) const;
virtual bool is_tool() const;
+ virtual bool is_valid() const;
virtual ScriptLanguage *get_language() const;