Do not use disabled points in polygon filter outline.

This commit is contained in:
jonjenssen 2021-01-27 22:58:36 +01:00
parent f55da30f4d
commit 66c2e02e49

View File

@ -858,7 +858,7 @@ cvf::ref<RigPolyLinesData> RimPolygonFilter::polyLinesData() const
std::vector<cvf::Vec3d> line;
for ( const RimPolylineTarget* target : m_targets )
{
line.push_back( target->targetPointXYZ() );
if ( target->isEnabled() ) line.push_back( target->targetPointXYZ() );
}
pld->setPolyLine( line );