fix for own mistake in recent adjustments to transform, local without individual-origin wasn't working.

This commit is contained in:
Campbell Barton 2013-04-08 08:43:16 +00:00
parent babdd90e2e
commit 0e1891648e

@ -558,8 +558,8 @@ void setConstraint(TransInfo *t, float space[3][3], int mode, const char text[])
void setLocalConstraint(TransInfo *t, int mode, const char text[])
{
/* edit-mode now allows local transforms too */
#if 0
if (t->flag & T_EDIT) {
#if 1
if ((t->flag & T_EDIT) && (t->around != V3D_LOCAL)) {
float obmat[3][3];
copy_m3_m4(obmat, t->scene->obedit->obmat);
normalize_m3(obmat);