Fix T42994: Own recent regression in fix for T42945 (rB5cc199e49581),
side/front/top ortho views would no more adapt their snapping unit to zoom factor. This code would need slightly more refactor actually, but this will be for after release!
This commit is contained in:
parent
20aed660f5
commit
e483a21ce6
Notes:
blender-bot
2023-02-14 09:42:27 +01:00
Referenced by issue #42994, In metric units gridtitle/-snapping ignores griddivisions
|
@ -2656,6 +2656,7 @@ static void view3d_draw_objects(
|
|||
else {
|
||||
if ((v3d->flag2 & V3D_RENDER_OVERRIDE) == 0) {
|
||||
ED_region_pixelspace(ar);
|
||||
*grid_unit = NULL; /* drawgrid need this to detect/affect smallest valid unit... */
|
||||
drawgrid(&scene->unit, ar, v3d, grid_unit);
|
||||
/* XXX make function? replaces persp(1) */
|
||||
glMatrixMode(GL_PROJECTION);
|
||||
|
|
Loading…
Reference in New Issue