mirror of
https://github.com/OPM/ResInsight.git
synced 2026-12-05 03:51:09 -06:00
#8312 2D/3D Intersections: Fix missing display of polyline
This commit is contained in:
1 parent
9b42bf7cfc
commit
2b6767c328
1 file changed
+4
-2
+4
-2
@@ -149,13 +149,15 @@ void RivExtrudedCurveIntersectionGeometryGenerator::calculateTransformedPolyline
|
||||
|
||||
for ( size_t lineIdx = 0; lineIdx < m_polylines.size(); ++lineIdx )
|
||||
{
|
||||
auto flatPolyline = m_transformedPolyLines.emplace_back();
|
||||
const auto& polyline = m_polylines[lineIdx];
|
||||
std::vector<cvf::Vec3d> flatPolyline;
|
||||
|
||||
const auto& polyline = m_polylines[lineIdx];
|
||||
for ( size_t index = 0; index < polyline.size(); ++index )
|
||||
{
|
||||
flatPolyline.push_back( transformPointByPolylineSegmentIndex( polyline[index], lineIdx, index ) );
|
||||
}
|
||||
|
||||
m_transformedPolyLines.emplace_back( flatPolyline );
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
Reference in new issue
Block a user