Fix for bug #5986: snap circle too big when far away from the origin

(e.g. 1000 blender units).
This commit is contained in:
2008-02-21 14:28:20 +00:00
parent 9be47ba25c
commit 36c41c96e7
3 changed files with 5 additions and 5 deletions

View File

@@ -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);