Selection bugfix? Lets see if this one line fix really fixes it...

This commit is contained in:
Titus Tscharntke 2011-01-14 01:14:38 +00:00
parent 6c038cacd3
commit 0cb64ca1fa

View File

@ -3066,6 +3066,8 @@ void Renderer::computeSelected( Selection::UnitContainer &units,
if(w<1) w=1;
if(h<1) h=1;
//recalculate visibleQuad ( lets see if this fixes the false selection )
computeVisibleQuad();
//setup matrices
glSelectBuffer(Gui::maxSelBuff, selectBuffer);
glMatrixMode(GL_PROJECTION);