Fix #31658: missing properties in key configuration export, hidden properties

should be exported as well, not sure why this was disabled, it's supposed to
only affect UI hiding.
This commit is contained in:
Brecht Van Lommel 2012-05-31 16:04:07 +00:00
parent c3a7db28d3
commit a8f84fac89

@ -145,7 +145,7 @@ def _export_properties(prefix, properties, lines=None):
return result
for pname in properties.bl_rna.properties.keys():
if pname != "rna_type" and not properties.is_property_hidden(pname):
if pname != "rna_type":
value = getattr(properties, pname)
if isinstance(value, OperatorProperties):
_export_properties(prefix + "." + pname, value, lines)