Fix updateGL() bugs

This commit is contained in:
Maxime Gimeno 2017-07-27 09:37:20 +02:00
parent 0c4ee274e9
commit 7fd4eb3e89
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
{