Project/OilField: Made sure one and always one oilfield exists in a project.

p4#: 21884
This commit is contained in:
Jacob Støren
2013-06-12 09:36:50 +02:00
parent 3cfbc9f25e
commit a9d2baf117
3 changed files with 19 additions and 41 deletions

View File

@@ -63,16 +63,8 @@ RimOilField::RimOilField(void)
///
//--------------------------------------------------------------------------------------------------
RimOilField::~RimOilField(void)
{
close();
}
//--------------------------------------------------------------------------------------------------
///
//--------------------------------------------------------------------------------------------------
void RimOilField::close()
{
if (wellPathCollection()) delete wellPathCollection();
if (analysisModels()) delete analysisModels();
}