Skip to content

Commit

Permalink
Make sure other pick editors are updated when polygon in view is changed
Browse files Browse the repository at this point in the history
  • Loading branch information
jonjenssen committed Mar 18, 2024
1 parent f48686c commit fd0044a
Showing 1 changed file with 6 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -233,6 +233,12 @@ void RimPolygonInView::updatePolygonFromTargets()
points.push_back( target->targetPointXYZ() );
}
m_polygon->setPointsInDomainCoords( points );

// update other pick editors, make sure we don't update ourselves
m_polygon->coordinatesChanged.block( this );
m_polygon->coordinatesChanged.send();
m_polygon->coordinatesChanged.unblock( this );

m_polygon->objectChanged.send();
}
}
Expand Down

0 comments on commit fd0044a

Please sign in to comment.