mirror of
https://github.com/OPM/ResInsight.git
synced 2025-02-25 18:55:39 -06:00
(#657) Fixed inverted horizontal / vertical mapping
This commit is contained in:
parent
227eba0325
commit
29973bbcf6
@ -302,7 +302,7 @@ cvf::Vec3d RivCrossSectionPartMgr::extrusionDirection(const std::vector<cvf::Vec
|
||||
|
||||
cvf::Vec3d dir = cvf::Vec3d::Z_AXIS;
|
||||
|
||||
if (m_rimCrossSection->direction == RimCrossSection::CS_VERTICAL &&
|
||||
if (m_rimCrossSection->direction == RimCrossSection::CS_HORIZONTAL &&
|
||||
polyline.size() > 1)
|
||||
{
|
||||
// Use first and last point of polyline to approximate orientation of polyline
|
||||
|
Loading…
Reference in New Issue
Block a user