Allow signal connecting even if script is invalid (only when compiled with tools), fixes #17070

This commit is contained in:
Juan Linietsky 2018-11-27 19:55:37 -03:00
parent 616b91b498
commit 3a93499f89
11 changed files with 33 additions and 4 deletions

View file

@ -102,6 +102,7 @@ public:
PropertyInfo get_property_info(const StringName &p_property) const;
bool is_tool() const { return _tool; }
bool is_valid() const { return true; }
virtual ScriptLanguage *get_language() const;