diff options
author | Martin Poirier <theeth@yahoo.com> | 2008-10-07 01:41:20 +0400 |
---|---|---|
committer | Martin Poirier <theeth@yahoo.com> | 2008-10-07 01:41:20 +0400 |
commit | 160609bce8dda83c3af1bedb7f5e29a18a686b73 (patch) | |
tree | 8d1586e184fd51f0a5f1e3dffc6b6b8511bc79c5 | |
parent | 64527fa81d2b2136234821b9b7481b552502484c (diff) |
Grease Pencil Bugfix
When converting to armature, don't flag the first bone of each stroke as connected.
-rw-r--r-- | source/blender/src/gpencil.c | 5 |
1 files changed, 4 insertions, 1 deletions
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; |