You've already forked godot
mirror of
https://github.com/godotengine/godot.git
synced 2025-11-14 13:41:12 +00:00
Fix regression from 160c260 causing export of non-@export properties.
This commit is contained in:
@@ -2282,9 +2282,10 @@ Error GDScriptCompiler::_parse_class_level(GDScript *p_script, const GDScriptPar
|
|||||||
}
|
}
|
||||||
prop_info.hint = export_info.hint;
|
prop_info.hint = export_info.hint;
|
||||||
prop_info.hint_string = export_info.hint_string;
|
prop_info.hint_string = export_info.hint_string;
|
||||||
prop_info.usage = export_info.usage;
|
prop_info.usage = export_info.usage | PROPERTY_USAGE_SCRIPT_VARIABLE;
|
||||||
|
} else {
|
||||||
|
prop_info.usage = PROPERTY_USAGE_SCRIPT_VARIABLE;
|
||||||
}
|
}
|
||||||
prop_info.usage |= PROPERTY_USAGE_SCRIPT_VARIABLE;
|
|
||||||
#ifdef TOOLS_ENABLED
|
#ifdef TOOLS_ENABLED
|
||||||
p_script->doc_variables[name] = variable->doc_description;
|
p_script->doc_variables[name] = variable->doc_description;
|
||||||
#endif
|
#endif
|
||||||
|
|||||||
Reference in New Issue
Block a user