#1037 - pre-proto - Moved fractureCollection from wellPathCollection to WellPath

This commit is contained in:
astridkbjorke
2016-12-21 14:19:52 +01:00
parent 46e4815f9a
commit 22c96be5dd
5 changed files with 24 additions and 12 deletions

View File

@@ -28,7 +28,7 @@
#include "RimMainPlotCollection.h"
#include "RimWellLogPlotCollection.h"
#include "RivWellPathPartMgr.h"
#include "RimFractureCollection.h"
#include "RiuMainWindow.h"
#include <QDir>
@@ -96,6 +96,11 @@ RimWellPath::RimWellPath()
CAF_PDM_InitFieldNoDefault(&m_wellLogFile, "WellLogFile", "Well Log File", "", "", "");
m_wellLogFile.uiCapability()->setUiHidden(true);
CAF_PDM_InitFieldNoDefault(&fractureCollection, "FractureCollection", "Fractures", "", "", "");
fractureCollection.uiCapability()->setUiHidden(true);
fractureCollection = new RimFractureCollection();
m_wellPath = NULL;
}
@@ -124,6 +129,9 @@ RimWellPath::~RimWellPath()
}
}
if (fractureCollection()) delete fractureCollection();
}