Merge pull request #51166 from RandomShaper/fix_can_reset_3.x

This commit is contained in:
Rémi Verschelde 2021-08-09 09:19:25 +02:00 committed by GitHub
commit a418d09617
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
13 changed files with 154 additions and 77 deletions

View file

@ -1266,6 +1266,10 @@ VisualScript::VisualScript() {
is_tool_script = false;
}
bool VisualScript::inherits_script(const Ref<Script> &p_script) const {
return this == p_script.ptr(); //there is no inheritance in visual scripts, so this is enough
}
StringName VisualScript::get_default_func() const {
return StringName("f_312843592");
}