Fix for bug #5986: snap circle too big when far away from the origin
(e.g. 1000 blender units).
This commit is contained in:
@@ -126,7 +126,7 @@ void drawSnapping(TransInfo *t)
|
||||
|
||||
glDisable(GL_DEPTH_TEST);
|
||||
|
||||
size = get_drawsize(G.vd);
|
||||
size = get_drawsize(G.vd, t->tsnap.snapPoint);
|
||||
|
||||
size *= 0.5f * BIF_GetThemeValuef(TH_VERTEX_SIZE);
|
||||
|
||||
|
||||
Reference in New Issue
Block a user