Skeleton related functions separated into msh_skeleton_utilities + CollisionPrimProperties added for imported primitives that don't have proper names + misc changes to avoid circular imports + minor refactors

This commit is contained in:
William Herald Snyder
2022-01-18 15:16:49 -05:00
parent bae32bdfe4
commit dce3f4e498
17 changed files with 469 additions and 347 deletions

View File

@@ -24,10 +24,10 @@ def read_material(blender_material: bpy.types.Material) -> Material:
result = Material()
if blender_material.swbf_msh is None:
if blender_material.swbf_msh_mat is None:
return result
props = blender_material.swbf_msh
props = blender_material.swbf_msh_mat
result.specular_color = props.specular_color.copy()
result.rendertype = _read_material_props_rendertype(props)