diff options
-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); |