mirror of
https://github.com/OPM/ResInsight.git
synced 2026-10-12 16:32:12 -05:00
#2156 Fixed crash when loading project with intersection referencing missing well path file
This commit is contained in:
1 parent
2a3f82875c
commit
e344fcd47a
1 file changed
+1
-1
@@ -395,7 +395,7 @@ std::vector< std::vector <cvf::Vec3d> > RimIntersection::polyLines() const
|
||||
std::vector< std::vector <cvf::Vec3d> > lines;
|
||||
if (type == CS_WELL_PATH)
|
||||
{
|
||||
if (wellPath())
|
||||
if (wellPath() && wellPath->wellPathGeometry() )
|
||||
{
|
||||
lines.push_back(wellPath->wellPathGeometry()->m_wellPathPoints);
|
||||
clipToReservoir(lines[0]);
|
||||
|
||||
Reference in new issue
Block a user