Fix keymap export of enum-flag properties

This commit is contained in:
Campbell Barton
2019-09-06 04:43:23 +10:00
parent 1efd857430
commit 493fa59225

View File

@@ -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)