Skip to content

Commit

Permalink
Fix builds without OSG.
Browse files Browse the repository at this point in the history
  • Loading branch information
adeas31 committed Jan 29, 2017
1 parent 354a8d1 commit 8c96671
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions OMEdit/OMEditGUI/Modeling/ModelWidgetContainer.cpp
Expand Up @@ -3242,10 +3242,12 @@ void ModelWidget::updateModelText()
setWindowTitle(QString(mpLibraryTreeItem->getName()).append("*"));
LibraryTreeModel *pLibraryTreeModel = MainWindow::instance()->getLibraryWidget()->getLibraryTreeModel();
pLibraryTreeModel->updateLibraryTreeItemClassText(mpLibraryTreeItem);
#if !defined(WITHOUT_OSG)
// update the ThreeDViewer Browser
if (mpLibraryTreeItem->getLibraryType() == LibraryTreeItem::MetaModel) {
MainWindow::instance()->getModelWidgetContainer()->updateThreeDViewer(this);
}
#endif
}

/*!
Expand Down

0 comments on commit 8c96671

Please sign in to comment.