[Bf-blender-cvs] SVN commit: /data/svn/bf-blender [16953] trunk/blender/source/blender/src/ gpencil.c: Grease Pencil Bugfix
Martin Poirier
theeth at yahoo.com
Mon Oct 6 23:41:20 CEST 2008
Revision: 16953
http://projects.blender.org/plugins/scmsvn/viewcvs.php?view=rev&root=bf-blender&revision=16953
Author: theeth
Date: 2008-10-06 23:41:20 +0200 (Mon, 06 Oct 2008)
Log Message:
-----------
Grease Pencil Bugfix
When converting to armature, don't flag the first bone of each stroke as connected.
Modified Paths:
--------------
trunk/blender/source/blender/src/gpencil.c
Modified: trunk/blender/source/blender/src/gpencil.c
===================================================================
--- trunk/blender/source/blender/src/gpencil.c 2008-10-06 19:57:42 UTC (rev 16952)
+++ trunk/blender/source/blender/src/gpencil.c 2008-10-06 21:41:20 UTC (rev 16953)
@@ -937,7 +937,10 @@
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;
More information about the Bf-blender-cvs
mailing list