diff options
author | Campbell Barton <ideasman42@gmail.com> | 2019-09-05 21:43:23 +0300 |
---|---|---|
committer | Campbell Barton <ideasman42@gmail.com> | 2019-09-05 21:44:12 +0300 |
commit | 493fa59225cdf606fa3bb236efd1bb75f1747a98 (patch) | |
tree | dbab6706b0e6d5be038ae32196017b913d83625f | |
parent | 1efd857430459210f9656b15d4c8586a3fef7f70 (diff) |
Fix keymap export of enum-flag properties
-rw-r--r-- | release/scripts/modules/bl_keymap_utils/io.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/release/scripts/modules/bl_keymap_utils/io.py b/release/scripts/modules/bl_keymap_utils/io.py index 2ff30cf4d52..a93e86bc0a1 100644 --- a/release/scripts/modules/bl_keymap_utils/io.py +++ b/release/scripts/modules/bl_keymap_utils/io.py @@ -80,7 +80,7 @@ def _kmi_properties_to_lines_recursive(level, properties, lines): from bpy.types import OperatorProperties def string_value(value): - if isinstance(value, (str, bool, int)): + if isinstance(value, (str, bool, int, set)): return repr(value) elif isinstance(value, float): return repr_f32(value) |