From c99f18a7871f5bfe9454138d53aaccc575764d52 Mon Sep 17 00:00:00 2001 From: Gaia Clary Date: Mon, 26 Nov 2018 23:11:29 +0100 Subject: 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. --- source/blender/collada/ArmatureImporter.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'source/blender/collada/ArmatureImporter.cpp') diff --git a/source/blender/collada/ArmatureImporter.cpp b/source/blender/collada/ArmatureImporter.cpp index 32c7363a994..2644eef5e4a 100644 --- a/source/blender/collada/ArmatureImporter.cpp +++ b/source/blender/collada/ArmatureImporter.cpp @@ -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); -- cgit v1.2.3