Allow signal connecting even if script is invalid (only when compiled with tools), fixes #17070
This commit is contained in:
1 parent
616b91b498
commit
3a93499f89
11 files changed
+33
-4
No files matched your search
@@ -981,6 +981,10 @@ bool VisualScript::is_tool() const {
|
||||
return false;
|
||||
}
|
||||
|
||||
bool VisualScript::is_valid() const {
|
||||
return true; //always valid
|
||||
}
|
||||
|
||||
ScriptLanguage *VisualScript::get_language() const {
|
||||
|
||||
return VisualScriptLanguage::singleton;
|
||||
|
||||
Reference in new issue
Block a user