mirror of
https://github.com/OPM/ResInsight.git
synced 2025-02-25 18:55:39 -06:00
#2486 2d intersection view. Temporary fix to avoid crash
This commit is contained in:
parent
ac5466f83d
commit
16551c05c4
@ -43,6 +43,7 @@
|
||||
|
||||
#include "RivHexGridIntersectionTools.h"
|
||||
#include "RivIntersectionGeometryGenerator.h"
|
||||
#include "RivObjectSourceInfo.h"
|
||||
#include "RivIntersectionSourceInfo.h"
|
||||
#include "RivPartPriority.h"
|
||||
#include "RivPipeGeometryGenerator.h"
|
||||
@ -812,7 +813,7 @@ void RivIntersectionPartMgr::appendWellPipePartsToModel(cvf::ModelBasicList* mod
|
||||
pipeCrossSectionVxCount = wellPathColl->wellPathCrossSectionVertexCount();
|
||||
wellPipeColor = wellPath->wellPathColor();
|
||||
|
||||
createSourceInfoFunc = [&](size_t brIdx) { return new RivWellPathSourceInfo(wellPath, m_rimCrossSection->correspondingIntersectionView()); };
|
||||
createSourceInfoFunc = [&](size_t brIdx) { return new RivObjectSourceInfo(wellPath); }; //Temporary fix to avoid crash
|
||||
}
|
||||
|
||||
// Create pipe geometry
|
||||
|
Loading…
Reference in New Issue
Block a user