diff options
author | RĂ©mi Verschelde <remi@verschelde.fr> | 2022-08-06 14:27:17 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2022-08-06 14:27:17 +0200 |
commit | 77d3ac700d5f528c0393d6aff1306e76f07b0d83 (patch) | |
tree | 31e3560386c2b6d2af4f2bb9a050ec0edae37de2 /modules/visual_script | |
parent | c81ef515030ba262c9e507a0453a8bc86258e309 (diff) | |
parent | 0e1f7e9f89e74ebf4b2dec04f26ffab13c32a237 (diff) |
Merge pull request #63712 from object71/fix-export-issues
Diffstat (limited to 'modules/visual_script')
-rw-r--r-- | modules/visual_script/visual_script.cpp | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/modules/visual_script/visual_script.cpp b/modules/visual_script/visual_script.cpp index 4215a979e0..73249371cd 100644 --- a/modules/visual_script/visual_script.cpp +++ b/modules/visual_script/visual_script.cpp @@ -1206,6 +1206,10 @@ bool VisualScriptInstance::get(const StringName &p_name, Variant &r_ret) const { } void VisualScriptInstance::get_property_list(List<PropertyInfo> *p_properties) const { +#ifdef TOOLS_ENABLED + p_properties->push_back(script->get_class_category()); +#endif // TOOLS_ENABLED + for (const KeyValue<StringName, VisualScript::Variable> &E : script->variables) { if (!E.value._export) { continue; |