Patch provided by Matthew Plough for better view zoom with CTRL+middle

mouse.

For me it's a good replacement, and more intuitive & compatible. Now
let's wait for the storm of reactions...
This commit is contained in:
2004-05-18 19:59:50 +00:00
parent 9686d18311
commit ec45e4ad78
2 changed files with 18 additions and 3 deletions

View File

@@ -3346,6 +3346,9 @@ static void drawWireExtra(Object *ob, ListBase *lb)
}
else BIF_ThemeColor(TH_WIRE);
// glPolygonOffset(-1.0, -1.0);
/* hack below is to mimic polygon offset */
glMatrixMode(GL_PROJECTION);
glGetFloatv(GL_PROJECTION_MATRIX, (float *)winmat);