Fix VisualScript export variables

This commit is contained in:
kobewi 2022-05-06 16:00:30 +02:00
parent de3ccf7a69
commit 7b101c6fe7

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);