[Bf-blender-cvs] SVN commit: /data/svn/bf-blender [17185] branches/etch-a-ton/source/blender /src/editarmature_sketch.c: Snapping sketch to bone was using untransformed head/tail.
Martin Poirier
theeth at yahoo.com
Wed Oct 22 22:30:02 CEST 2008
Revision: 17185
http://projects.blender.org/plugins/scmsvn/viewcvs.php?view=rev&root=bf-blender&revision=17185
Author: theeth
Date: 2008-10-22 22:30:02 +0200 (Wed, 22 Oct 2008)
Log Message:
-----------
Snapping sketch to bone was using untransformed head/tail. Fixed.
Modified Paths:
--------------
branches/etch-a-ton/source/blender/src/editarmature_sketch.c
Modified: branches/etch-a-ton/source/blender/src/editarmature_sketch.c
===================================================================
--- branches/etch-a-ton/source/blender/src/editarmature_sketch.c 2008-10-22 20:17:11 UTC (rev 17184)
+++ branches/etch-a-ton/source/blender/src/editarmature_sketch.c 2008-10-22 20:30:02 UTC (rev 17185)
@@ -793,7 +793,7 @@
{
*dist = pdist;
pt = &boneSnap;
- VECCOPY(pt->p, bone->head);
+ VECCOPY(pt->p, vec);
pt->type = PT_EXACT;
}
}
@@ -809,7 +809,7 @@
{
*dist = pdist;
pt = &boneSnap;
- VECCOPY(pt->p, bone->tail);
+ VECCOPY(pt->p, vec);
pt->type = PT_EXACT;
}
}
More information about the Bf-blender-cvs
mailing list