mirror of
https://github.com/blender/blender
synced 2026-09-29 04:37:17 +03:00
Fix keymap export of enum-flag properties
This commit is contained in:
parent
1efd857430
commit
493fa59225
1 changed files with 1 additions and 1 deletions
|
|
@ -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)
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue