We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 366f324 commit 034d3d7Copy full SHA for 034d3d7
Sofa/GUI/Common/src/sofa/gui/common/BaseViewer.cpp
@@ -287,7 +287,7 @@ void BaseViewer::drawSelection(sofa::core::visual::VisualParams* vparams)
287
return;
288
289
drawTool->setPolygonMode(0, false);
290
- float screenHeight = vparams->viewport()[4];
+ float screenHeight = vparams->viewport()[3];
291
292
for(auto current : currentSelection)
293
{
0 commit comments