diff options
author | Martin Poirier <theeth@yahoo.com> | 2004-07-28 03:24:56 +0400 |
---|---|---|
committer | Martin Poirier <theeth@yahoo.com> | 2004-07-28 03:24:56 +0400 |
commit | 1564409217697885d0588e17dba7badc8778c855 (patch) | |
tree | e2914738d6c1ffb578f4c7985ea7c3ecf5eb9723 /source/blender/src/drawview.c | |
parent | fb40ae6413af11c50e4e9ac4eb38226648dcba1b (diff) |
Uncommited dashed lines to indicated 1x1 zoom. While it did look nice and useful, it caused some rather nasty slowdown on some 3D cards. It was decided to push the feature as well as further discussions on it (zooming indicator in corner or others means of showing zoom level) for after 2.34.
Diffstat (limited to 'source/blender/src/drawview.c')
-rw-r--r-- | source/blender/src/drawview.c | 8 |
1 files changed, 2 insertions, 6 deletions
diff --git a/source/blender/src/drawview.c b/source/blender/src/drawview.c index 8367fdcc582..7ed0444a0cf 100644 --- a/source/blender/src/drawview.c +++ b/source/blender/src/drawview.c @@ -535,7 +535,6 @@ static void drawgrid(void) /* check zoom out */ BIF_ThemeColor(TH_GRID); persp(PERSP_WIN); - setlinestyle(3); if(dx<6.0) { dx*= 10.0; @@ -587,15 +586,12 @@ static void drawgrid(void) BIF_ThemeColorBlend(TH_BACK, TH_GRID, dx/60.0); drawgrid_draw(wx, wy, x, y, dx); BIF_ThemeColor(TH_GRID); - setlinestyle(0); - drawgrid_draw(wx, wy, x, y, dx*10); /* 1:1 */ + drawgrid_draw(wx, wy, x, y, dx*10); } } else { BIF_ThemeColorBlend(TH_BACK, TH_GRID, dx/60.0); - setlinestyle(0); - drawgrid_draw(wx, wy, x, y, dx); /* 1:1 */ - setlinestyle(3); + drawgrid_draw(wx, wy, x, y, dx); BIF_ThemeColor(TH_GRID); drawgrid_draw(wx, wy, x, y, dx*10); } |