mirror of
https://github.com/godotengine/godot.git
synced 2025-10-20 08:23:29 +00:00
Merge pull request #51166 from RandomShaper/fix_can_reset_3.x
This commit is contained in:
commit
a418d09617
13 changed files with 154 additions and 77 deletions
|
@ -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");
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue