diff options
author | Brecht Van Lommel <brechtvanlommel@pandora.be> | 2012-05-31 20:04:07 +0400 |
---|---|---|
committer | Brecht Van Lommel <brechtvanlommel@pandora.be> | 2012-05-31 20:04:07 +0400 |
commit | a8f84fac89af4f62d75afa143e68a5001e8d5b83 (patch) | |
tree | e2de37849006603e0fcb13b87f3ecd6c192d9cb3 /release/scripts/modules/bpy_extras | |
parent | c3a7db28d31780329f8402f3f26c7bd575031474 (diff) |
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.
Diffstat (limited to 'release/scripts/modules/bpy_extras')
-rw-r--r-- | release/scripts/modules/bpy_extras/keyconfig_utils.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/release/scripts/modules/bpy_extras/keyconfig_utils.py b/release/scripts/modules/bpy_extras/keyconfig_utils.py index 20b0669e531..e652b8461b2 100644 --- a/release/scripts/modules/bpy_extras/keyconfig_utils.py +++ b/release/scripts/modules/bpy_extras/keyconfig_utils.py @@ -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) |