#2630 Fix wrong picked MD on clipped well paths

This commit is contained in:
Jacob Støren
2018-03-21 13:56:24 +01:00
parent 375bda8b68
commit 25ff51c82b
4 changed files with 26 additions and 10 deletions

View File

@@ -407,9 +407,11 @@ std::vector< std::vector <cvf::Vec3d> > RimIntersection::polyLines(cvf::Vec3d *
this->firstAncestorOrThisOfType(ownerCase);
if (ownerCase)
{
lines[0] = RigWellPath::clipPolylineStartAboveZ(lines[0],
ownerCase->activeCellsBoundingBox().max().z(),
&horizontalProjectedLengthAlongWellPathToClipPoint);
size_t dummy;
lines[0] = RigWellPath::clipPolylineStartAboveZ(lines[0],
ownerCase->activeCellsBoundingBox().max().z(),
&horizontalProjectedLengthAlongWellPathToClipPoint,
&dummy);
}
}
}