Removed ui update code that is not needed (#311)

This commit is contained in:
Stein Dale 2015-06-18 13:22:13 +02:00
parent 2ca5151c6c
commit f55b6d2519
3 changed files with 0 additions and 7 deletions

View File

@ -693,9 +693,6 @@ void RimEclipseView::loadDataAndUpdate()
{
setDefaultView();
}
bool resultPresent = cellResult() ? cellResult()->hasStaticResult() || cellResult()->hasDynamicResult() : false;
uiEnableDisableLighting(resultPresent);
}

View File

@ -187,8 +187,6 @@ void RimGeoMechResultSlot::fieldChangedByUi(const caf::PdmFieldHandle* changedFi
if (m_reservoirView->geoMechCase()->geoMechData()->femPartResults()->assertResultsLoaded(this->resultAddress()))
{
m_reservoirView->hasUserRequestedAnimation = true;
m_reservoirView->uiEnableDisableLighting(true);
RiuMainWindow::instance()->refreshDrawStyleActions();
}
m_reservoirView->createDisplayModelAndRedraw();

View File

@ -71,8 +71,6 @@ void RimResultSlot::fieldChangedByUi(const caf::PdmFieldHandle* changedField, co
if (oldValue != newValue)
{
changeLegendConfig(this->resultVariable());
if (m_reservoirView) m_reservoirView->uiEnableDisableLighting(true);
RiuMainWindow::instance()->refreshDrawStyleActions();
}
if (newValue != RimDefines::undefinedResultName())