Remove old polygon annotations. (#11404)

* Remove old polygon annotations from GUI. 
* Upgrade old annotation objects to new polygon objects on load.
This commit is contained in:
jonjenssen authored and GitHub committed 2024-05-01 10:50:19 +02:00
1 parent 4617bcc673
commit 2e4ca390c7
24 files changed
+119 -1084

No files matched your search

@@ -30,6 +30,8 @@
#include <vector>
class RiaVariableMapper;
class RigEclipseCaseData;
class RigGridManager;
class RigMainGrid;
@@ -177,7 +179,6 @@ public:
std::vector<RimWellPath*> allWellPaths() const;
std::vector<RimTextAnnotation*> textAnnotations() const;
std::vector<RimReachCircleAnnotation*> reachCircleAnnotations() const;
std::vector<RimPolylinesAnnotation*> polylineAnnotations() const;
std::vector<RimGeoMechCase*> geoMechCases() const;
@@ -193,6 +194,7 @@ public:
RimPlotTemplateFolderItem* rootPlotTemplateItem() const;
std::vector<caf::FilePath*> allFilePaths() const;
QString updatedFilePathFromPathId( QString filePath, RiaVariableMapper* pathListMapper = nullptr ) const;
protected:
void beforeInitAfterRead() override;