mirror of
https://github.com/OPM/ResInsight.git
synced 2026-09-03 20:53:13 -05:00
pre-proto - Fix for loading projects with saved stim plan fractures with multiple time steps
This commit is contained in:
@@ -284,6 +284,8 @@ void RivWellFracturePartMgr::generateStimPlanMeshPart(caf::DisplayCoordTransform
|
|||||||
//--------------------------------------------------------------------------------------------------
|
//--------------------------------------------------------------------------------------------------
|
||||||
cvf::ref<cvf::DrawableGeo> RivWellFracturePartMgr::createStimPlanMeshDrawable(RimStimPlanFractureTemplate* stimPlanFracTemplate, caf::DisplayCoordTransform* displayCoordTransform)
|
cvf::ref<cvf::DrawableGeo> RivWellFracturePartMgr::createStimPlanMeshDrawable(RimStimPlanFractureTemplate* stimPlanFracTemplate, caf::DisplayCoordTransform* displayCoordTransform)
|
||||||
{
|
{
|
||||||
|
//TODO: This is needed to avoid errors when loading project with stimPlan fractures with multipled timesteps.
|
||||||
|
//Should probably be moved, since it now is called twice in some cases...
|
||||||
stimPlanFracTemplate->setupStimPlanCells();
|
stimPlanFracTemplate->setupStimPlanCells();
|
||||||
|
|
||||||
std::vector<RigStimPlanCell> stimPlanCells = stimPlanFracTemplate->getStimPlanCells();
|
std::vector<RigStimPlanCell> stimPlanCells = stimPlanFracTemplate->getStimPlanCells();
|
||||||
|
|||||||
Reference in New Issue
Block a user