mirror of
https://github.com/OPM/ResInsight.git
synced 2026-10-12 16:32:12 -05:00
#8312 2D/3D Intersections: Fix missing display of polyline
This commit is contained in:
1 parent
2e64d77538
commit
44f588be27
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