Polygon updates (#11298)

* Make menus similar for polygon and polygonInView
* Crash fix: Iterator might be invalidated by erase, reorder operations.
* Update pick editor after reload
* Do not enable edit if polygon is read only
* Make sure filter and intersection geometry is updated after a reload
* Make sure other pick editors are updated when polygon in view is changed
This commit is contained in:
jonjenssen authored and GitHub committed 2024-03-18 14:31:06 +01:00
1 parent 853d68df8b
commit 2001c94a39
10 files changed
+53 -14

No files matched your search

@@ -885,6 +885,7 @@ caf::PickEventHandler* RimPolygonFilter::pickEventHandler() const
if ( filterColl && !filterColl->isActive() ) return nullptr;
if ( !isActive() ) return nullptr;
if ( !isPolygonDefinedLocally() && m_cellFilterPolygon && m_cellFilterPolygon()->isReadOnly() ) return nullptr;
return m_pickTargetsEventHandler.get();
}