Snap Cursor to Selected in EditMode for bone was still not working correctly. A missing check made it impossible to snap to joints in some situations.
This commit is contained in:
Joshua Leung 2007-09-01 04:24:16 +00:00
parent 50ea568179
commit 778b690a61

@ -1005,7 +1005,7 @@ static void make_trans_verts(float *min, float *max, int mode)
tottrans++; tottrans++;
} }
if (mode & 2) { if ((mode & 2) && (tipsel)) {
VECCOPY (tv->oldloc, ebo->tail); VECCOPY (tv->oldloc, ebo->tail);
tv->loc= ebo->tail; tv->loc= ebo->tail;
tv->nor= NULL; tv->nor= NULL;