forked from bartvdbraak/blender
Bug fix: #3684
When grabing a camera in camera view, the constraint center wasn't the center used for initgrabz, so it messed up a lot.
This commit is contained in:
parent
148134205f
commit
8d05e14b0f
@ -728,7 +728,10 @@ void calculateCenter(TransInfo *t)
|
||||
projectIntView(t, axis, t->center2d);
|
||||
|
||||
/* rotate only needs correct 2d center, grab needs initgrabz() value */
|
||||
if(t->mode==TFM_TRANSLATION) VECCOPY(t->center, axis);
|
||||
if(t->mode==TFM_TRANSLATION) {
|
||||
VECCOPY(t->center, axis);
|
||||
VECCOPY(t->con.center, t->center);
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user