forked from bartvdbraak/blender
Revert svn r55587, fix for T34698 (Disable snap when transform axis is constrained)
Currently we don't properly support snapping + axis-constraints, but there are cases where its handy to project-snap for eg, and constraint to an axis so re-enable this.
This commit is contained in:
parent
6a2d5eb1ef
commit
3f2f7091d6
@ -290,7 +290,7 @@ eRedrawFlag handleSnapping(TransInfo *t, const wmEvent *event)
|
|||||||
void applyProject(TransInfo *t)
|
void applyProject(TransInfo *t)
|
||||||
{
|
{
|
||||||
/* XXX FLICKER IN OBJECT MODE */
|
/* XXX FLICKER IN OBJECT MODE */
|
||||||
if ((t->tsnap.project) && activeSnap(t) && (t->flag & T_NO_PROJECT) == 0 && (t->con.mode & CON_APPLY) == 0) {
|
if ((t->tsnap.project) && activeSnap(t) && (t->flag & T_NO_PROJECT) == 0) {
|
||||||
TransData *td = t->data;
|
TransData *td = t->data;
|
||||||
float tvec[3];
|
float tvec[3];
|
||||||
float imat[4][4];
|
float imat[4][4];
|
||||||
|
Loading…
Reference in New Issue
Block a user