mirror of
https://github.com/godotengine/godot.git
synced 2025-10-20 08:23:29 +00:00
Improve inheritance system in gdnative pluginscript
This commit is contained in:
parent
05b1843818
commit
0de61998e4
4 changed files with 29 additions and 28 deletions
|
@ -103,6 +103,7 @@ Ref<Script> PluginScriptLanguage::get_template(const String &p_class_name, const
|
|||
if (_desc.get_template_source_code) {
|
||||
godot_string src = _desc.get_template_source_code(_data, (godot_string *)&p_class_name, (godot_string *)&p_base_class_name);
|
||||
script->set_source_code(*(String *)&src);
|
||||
godot_string_destroy(&src);
|
||||
}
|
||||
return script;
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue