Merge branch 'blender-v2.91-release' into master

This commit is contained in:
Philipp Oeser 2020-11-12 11:23:16 +01:00
commit d7a2032846
1 changed files with 3 additions and 1 deletions

View File

@ -2327,7 +2327,9 @@ static void skin_armature_bone_create(Object *skin_ob,
EditBone *bone = ED_armature_ebone_add(arm, "Bone");
bone->parent = parent_bone;
bone->flag |= BONE_CONNECTED;
if (parent_bone != NULL) {
bone->flag |= BONE_CONNECTED;
}
copy_v3_v3(bone->head, mvert[parent_v].co);
copy_v3_v3(bone->tail, mvert[v].co);