Fix: Collada Importer: Keep bindinfo option is not properly handled
Actually the option was not at all used and the importer always created the bindinfo custom properties.
This commit is contained in:
parent
65874d3f33
commit
c99f18a787
|
@ -172,7 +172,7 @@ int ArmatureImporter::create_bone(SkinInfo *skin, COLLADAFW::Node *node, EditBon
|
|||
}
|
||||
copy_v3_v3(bone->head, mat[3]);
|
||||
|
||||
if (bone_is_skinned)
|
||||
if (bone_is_skinned && this->import_settings->keep_bind_info)
|
||||
{
|
||||
float rest_mat[4][4];
|
||||
get_node_mat(rest_mat, node, NULL, NULL, NULL);
|
||||
|
|
Loading…
Reference in New Issue