Fault result : Moved config from FaultCollection to FaultResultSettings

This commit is contained in:
Magne Sjaastad
2014-07-31 14:05:40 +02:00
parent 07b25a2f60
commit 51d4bd6023
7 changed files with 17 additions and 25 deletions

View File

@@ -131,7 +131,7 @@ void RivReservoirFaultsPartMgr::appendPartsToModel(cvf::ModelBasicList* model)
rivFaultPart->appendOppositeFaultFacesToModel(&parts);
}
if (faultCollection->showFaultFaces() || faultCollection->showOppositeFaultFaces() || faultCollection->showNNCs() || forceDisplayOfFault)
if (faultCollection->showFaultFaces() || faultCollection->showOppositeFaultFaces() || m_reservoirView->faultResultSettings()->showNNCs() || forceDisplayOfFault)
{
rivFaultPart->appendMeshLinePartsToModel(&parts);
}
@@ -141,7 +141,7 @@ void RivReservoirFaultsPartMgr::appendPartsToModel(cvf::ModelBasicList* model)
if (rimFault->showFault() && faultCollection->showFaultCollection())
{
if (faultCollection->showNNCs())
if (m_reservoirView->faultResultSettings()->showNNCs())
{
rivFaultPart->appendNNCFacesToModel(&parts);
}