mirror of
https://github.com/OPM/ResInsight.git
synced 2025-02-10 07:26:03 -06:00
#2156 Fixed crash when loading project with intersection referencing missing well path file
This commit is contained in:
parent
2a3f82875c
commit
e344fcd47a
@ -395,7 +395,7 @@ std::vector< std::vector <cvf::Vec3d> > RimIntersection::polyLines() const
|
|||||||
std::vector< std::vector <cvf::Vec3d> > lines;
|
std::vector< std::vector <cvf::Vec3d> > lines;
|
||||||
if (type == CS_WELL_PATH)
|
if (type == CS_WELL_PATH)
|
||||||
{
|
{
|
||||||
if (wellPath())
|
if (wellPath() && wellPath->wellPathGeometry() )
|
||||||
{
|
{
|
||||||
lines.push_back(wellPath->wellPathGeometry()->m_wellPathPoints);
|
lines.push_back(wellPath->wellPathGeometry()->m_wellPathPoints);
|
||||||
clipToReservoir(lines[0]);
|
clipToReservoir(lines[0]);
|
||||||
|
Loading…
Reference in New Issue
Block a user