Changeset View
Changeset View
Standalone View
Standalone View
io_scene_ms3d/ms3d_import.py
| Context not available. | |||||
| or ms3d_vertex.vertex_ex_object.bone_ids[2] != \ | or ms3d_vertex.vertex_ex_object.bone_ids[2] != \ | ||||
| Ms3dSpec.NONE_VERTEX_BONE_ID \ | Ms3dSpec.NONE_VERTEX_BONE_ID \ | ||||
| ): | ): | ||||
| ms3d_vertex_group_ids_weights = [] | ms3d_vertex_group_ids_weights = [ | ||||
| ms3d_vertex_group_ids_weights.append( | ( | ||||
| (ms3d_vertex.bone_id, | ms3d_vertex.bone_id, | ||||
| float(ms3d_vertex.vertex_ex_object.weights[0] % 101) / 100.0, | float(ms3d_vertex.vertex_ex_object.weights[0] % 101) / 100.0 | ||||
| )) | ) | ||||
| ] | |||||
| if ms3d_vertex.vertex_ex_object.bone_ids[0] != \ | if ms3d_vertex.vertex_ex_object.bone_ids[0] != \ | ||||
| Ms3dSpec.NONE_VERTEX_BONE_ID: | Ms3dSpec.NONE_VERTEX_BONE_ID: | ||||
| ms3d_vertex_group_ids_weights.append( | ms3d_vertex_group_ids_weights.append( | ||||
| Context not available. | |||||