Changeset View
Changeset View
Standalone View
Standalone View
io_scene_fbx/import_fbx.py
| Context not available. | |||||
| val = fbx_prop.props[4] | val = fbx_prop.props[4] | ||||
| if settings.use_custom_props_enum_as_string: | if settings.use_custom_props_enum_as_string: | ||||
| enum_items = fbx_prop.props[5].decode('utf-8').split('~') | enum_items = fbx_prop.props[5].decode('utf-8').split('~') | ||||
| assert(val >= 0 and val < len(enum_items)) | assert(0 <= val < len(enum_items)) | ||||
| blen_obj[prop_name] = enum_items[val] | blen_obj[prop_name] = enum_items[val] | ||||
| else: | else: | ||||
| blen_obj[prop_name] = val | blen_obj[prop_name] = val | ||||
| Context not available. | |||||