Merge pull request #60821 from KoBeWi/👀📜

This commit is contained in:
Rémi Verschelde 2022-05-06 16:26:28 +02:00 committed by GitHub
commit daec6e6897
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 3 additions and 0 deletions

View File

@ -930,6 +930,9 @@ void VisualScript::get_script_property_list(List<PropertyInfo> *p_list) const {
get_variable_list(&vars);
for (const StringName &E : vars) {
if (!variables[E]._export) {
continue;
}
PropertyInfo pi = variables[E].info;
pi.usage |= PROPERTY_USAGE_SCRIPT_VARIABLE;
p_list->push_back(pi);