mirror of https://github.com/CGAL/cgal
Remove the function recomputeItems().
This commit is contained in:
parent
1797754b62
commit
c8374bfefb
|
|
@ -873,7 +873,11 @@ void MainWindow::updateViewerBBox()
|
|||
if(offset != viewer->offset())
|
||||
{
|
||||
viewer->setOffset(offset);
|
||||
recomputeItems();
|
||||
for(int i=0; i<scene->numberOfEntries(); ++i)
|
||||
{
|
||||
scene->item(i)->invalidateOpenGLBuffers();
|
||||
scene->item(i)->itemChanged();
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
|
|
@ -1949,11 +1953,3 @@ void MainWindow::resetHeader()
|
|||
sceneView->header()->resizeSection(Scene::VisibleColumn, sceneView->header()->fontMetrics().width(QString("_View_")));
|
||||
|
||||
}
|
||||
void MainWindow::recomputeItems()
|
||||
{
|
||||
for(int i=0; i<scene->numberOfEntries(); ++i)
|
||||
{
|
||||
scene->item(i)->invalidateOpenGLBuffers();
|
||||
scene->item(i)->itemChanged();
|
||||
}
|
||||
}
|
||||
|
|
|
|||
|
|
@ -354,7 +354,6 @@ private:
|
|||
void updateMenus();
|
||||
void load_plugin(QString names, bool blacklisted);
|
||||
void recurseExpand(QModelIndex index);
|
||||
void recomputeItems();
|
||||
QMap<QString, QMenu*> menu_map;
|
||||
QString get_item_stats();
|
||||
QString strippedName(const QString &fullFileName);
|
||||
|
|
|
|||
Loading…
Reference in New Issue