mirror of
https://github.com/OPM/ResInsight.git
synced 2025-02-25 18:55:39 -06:00
New feature: delete unchecked subitems (#9010)
* New feature: delete unchecked subitems
This commit is contained in:
@@ -64,6 +64,14 @@ void RimWellPathFractureCollection::addFracture( RimWellPathFracture* fracture )
|
||||
m_fractures.push_back( fracture );
|
||||
}
|
||||
|
||||
//--------------------------------------------------------------------------------------------------
|
||||
///
|
||||
//--------------------------------------------------------------------------------------------------
|
||||
void RimWellPathFractureCollection::removeFracture( RimWellPathFracture* fracture )
|
||||
{
|
||||
m_fractures.removeChild( fracture );
|
||||
}
|
||||
|
||||
//--------------------------------------------------------------------------------------------------
|
||||
///
|
||||
//--------------------------------------------------------------------------------------------------
|
||||
|
||||
@@ -43,6 +43,7 @@ public:
|
||||
|
||||
bool hasFractures() const;
|
||||
void addFracture( RimWellPathFracture* fracture );
|
||||
void removeFracture( RimWellPathFracture* fracture );
|
||||
void deleteFractures();
|
||||
|
||||
std::vector<RimWellPathFracture*> allFractures() const;
|
||||
|
||||
Reference in New Issue
Block a user