diff options
author | Rémi Verschelde <rverschelde@gmail.com> | 2020-12-08 13:51:06 +0100 |
---|---|---|
committer | GitHub <noreply@github.com> | 2020-12-08 13:51:06 +0100 |
commit | 360cfeedacba971b255c68f7e061f2356bdb3135 (patch) | |
tree | 664b7575174d6a90f6f51f20e70eb5fb134d8a33 /modules/gdnative/pluginscript/pluginscript_script.cpp | |
parent | 3846a3703a109a0a9ae2aa7ec69c3b6c1db06f7b (diff) | |
parent | c4c18a2c588f081edcfe37a03822093c7b89c398 (diff) | |
download | redot-engine-360cfeedacba971b255c68f7e061f2356bdb3135.tar.gz |
Merge pull request #44176 from touilleMan/global_class_naming-for-pluginscript
Add PluginScript support for global class naming/icon path
Diffstat (limited to 'modules/gdnative/pluginscript/pluginscript_script.cpp')
-rw-r--r-- | modules/gdnative/pluginscript/pluginscript_script.cpp | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/modules/gdnative/pluginscript/pluginscript_script.cpp b/modules/gdnative/pluginscript/pluginscript_script.cpp index 87c6288806..d69ab2fcb7 100644 --- a/modules/gdnative/pluginscript/pluginscript_script.cpp +++ b/modules/gdnative/pluginscript/pluginscript_script.cpp @@ -302,6 +302,7 @@ Error PluginScript::reload(bool p_keep_state) { _data = manifest.data; _name = *(StringName *)&manifest.name; _tool = manifest.is_tool; + _icon_path = *(String *)&manifest.icon_path; Dictionary *members = (Dictionary *)&manifest.member_lines; for (const Variant *key = members->next(); key != nullptr; key = members->next(key)) { |