mirror of
https://github.com/OPM/ResInsight.git
synced 2025-01-07 14:43:10 -06:00
#8312 2D/3D Intersections: Fix missing display of polyline
This commit is contained in:
parent
9b42bf7cfc
commit
2b6767c328
@ -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