From 160609bce8dda83c3af1bedb7f5e29a18a686b73 Mon Sep 17 00:00:00 2001 From: Martin Poirier Date: Mon, 6 Oct 2008 21:41:20 +0000 Subject: [PATCH] Grease Pencil Bugfix When converting to armature, don't flag the first bone of each stroke as connected. --- source/blender/src/gpencil.c | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/source/blender/src/gpencil.c b/source/blender/src/gpencil.c index f6703fbe66b..1c16e833d78 100644 --- a/source/blender/src/gpencil.c +++ b/source/blender/src/gpencil.c @@ -937,7 +937,10 @@ static void gp_stroke_to_bonechain (bGPDlayer *gpl, bGPDstroke *gps, bArmature * BLI_addtail(bones, ebo); - ebo->flag |= BONE_CONNECTED; + if (i > 0) + { + ebo->flag |= BONE_CONNECTED; + } ebo->weight= 1.0F; ebo->dist= 0.25F; ebo->xwidth= 0.1;