mirror of
https://github.com/OPM/ResInsight.git
synced 2025-02-25 18:55:39 -06:00
#3268 MSW export. Improved FractureCollection interface
This commit is contained in:
committed by
Magne Sjaastad
parent
d0f6346376
commit
ff976cff38
@@ -115,7 +115,7 @@ void RicCreateMultipleFracturesFeature::slotAppendFractures()
|
||||
RimWellPathFractureCollection* fractureCollection = item.wellPath->fractureCollection();
|
||||
|
||||
// If this is the first fracture, set default result name
|
||||
if (fractureCollection->fractures.empty())
|
||||
if (fractureCollection->fractures().empty())
|
||||
{
|
||||
RimEclipseView* activeView = dynamic_cast<RimEclipseView*>(RiaApplication::instance()->activeReservoirView());
|
||||
if (activeView)
|
||||
@@ -125,7 +125,7 @@ void RicCreateMultipleFracturesFeature::slotAppendFractures()
|
||||
}
|
||||
|
||||
RimWellPathFracture* fracture = new RimWellPathFracture();
|
||||
fractureCollection->fractures.push_back(fracture);
|
||||
fractureCollection->addFracture(fracture);
|
||||
|
||||
fracture->setFractureUnit(item.wellPath->unitSystem());
|
||||
fracture->setMeasuredDepth(item.measuredDepth);
|
||||
|
||||
Reference in New Issue
Block a user