diff options
author | Philipp Oeser <info@graphics-engineer.com> | 2020-11-12 13:23:16 +0300 |
---|---|---|
committer | Philipp Oeser <info@graphics-engineer.com> | 2020-11-12 13:23:16 +0300 |
commit | d7a20328463122bc46c09cea9abfeda66fd796aa (patch) | |
tree | 0ba68b48ec7c00c7f485f73b73c4159dc80c0dcb | |
parent | bc090387ace9cf041455fa01e68d61551c47e18f (diff) | |
parent | eaf9ae643bfacfac9055db87c1daadc79e1e92e5 (diff) |
Merge branch 'blender-v2.91-release' into master
-rw-r--r-- | source/blender/editors/object/object_modifier.c | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/source/blender/editors/object/object_modifier.c b/source/blender/editors/object/object_modifier.c index ce08c5926f2..0b22afb7e66 100644 --- a/source/blender/editors/object/object_modifier.c +++ b/source/blender/editors/object/object_modifier.c @@ -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); |