Fix VisualScript export variables
This commit is contained in:
parent
de3ccf7a69
commit
7b101c6fe7
1 changed files with 3 additions and 0 deletions
|
@ -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);
|
||||
|
|
Loading…
Reference in a new issue