=== Transform Snap ===
Missing distance calculation in Snap Closest when only one element was selected made it not work correctly for rotations.
This commit is contained in:
@@ -419,6 +419,8 @@ void TargetSnapClosest(TransInfo *t)
|
||||
Object *ob= G.obedit?G.obedit:t->poseobj;
|
||||
Mat4MulVecfl(ob->obmat, t->tsnap.snapTarget);
|
||||
}
|
||||
|
||||
t->tsnap.dist = t->tsnap.distance(t, t->tsnap.snapTarget, t->tsnap.snapPoint);
|
||||
}
|
||||
// More than one selected item
|
||||
else
|
||||
|
||||
Reference in New Issue
Block a user