Merge pull request #2307 from maxGimeno/Fix_updateGL_calls-GF

Polyhedron_demo: Fix remaining ArchLinux compilation error
This commit is contained in:
Laurent Rineau 2017-07-28 18:45:56 +02:00
commit b7b30f4313
2 changed files with 2 additions and 2 deletions

View File

@ -246,7 +246,7 @@ protected Q_SLOTS:
//!and viewer accordingly.
/*!
* Set the scene selected item or selected item list. Sets the manipulated
* frame of the viewer to the new selected item's and calls updateGL().
* frame of the viewer to the new selected item's and calls update().
*/
void selectionChanged();
//! Scrolls to the new selected item from its name in the Geometric Objects list.

View File

@ -243,7 +243,7 @@ public Q_SLOTS:
ui_widget.close_checkBox->isChecked());
}
item->invalidateOpenGLBuffers();
viewer->updateGL();
viewer->update();
}
else
{