Grease Pencil Bugfix

When converting to armature, don't flag the first bone of each stroke as connected.
This commit is contained in:
2008-10-06 21:41:20 +00:00
parent 64527fa81d
commit 160609bce8

View File

@@ -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;