mirror of
https://github.com/OPM/ResInsight.git
synced 2025-01-08 15:14:07 -06:00
#8312 2D/3D Intersections: Fix missing display of polyline
This commit is contained in:
parent
2e64d77538
commit
44f588be27
@ -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 );
|
||||
}
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user