Fix comment in DrawSurfaceGenerator

This commit is contained in:
Gaute Lindkvist 2018-05-02 14:52:07 +02:00
parent 58f99a848e
commit 944baee00e

View File

@ -102,7 +102,7 @@ Riv3dWellLogDrawSurfaceGenerator::createDrawSurface(const caf::DisplayCoordTrans
// Create curve normal vectors using the unclipped well path points and normals.
createCurveNormalVectors(displayCoordTransform, indexToFirstVisibleSegment, planeOffsetFromWellPathCenter, planeWidth, samplingIntervalSize, wellPathSegmentNormals);
// Note that normals are calculated on the full non-clipped well path. So we need to clip the remainder here.
// Note that normals are calculated on the full non-clipped well path. So we need to clip the start here.
wellPathSegmentNormals.erase(wellPathSegmentNormals.begin(), wellPathSegmentNormals.end() - wellPathPoints.size());
if (wellPathPoints.size() < (size_t)2)