From 0ed99c09fae983bced584dcadf29e6d5d4d35b4a Mon Sep 17 00:00:00 2001 From: Kristian Bendiksen Date: Fri, 22 May 2020 13:55:48 +0200 Subject: [PATCH] Avoid saving standard color legends. --- ApplicationCode/ProjectDataModel/RimColorLegendCollection.cpp | 1 + 1 file changed, 1 insertion(+) diff --git a/ApplicationCode/ProjectDataModel/RimColorLegendCollection.cpp b/ApplicationCode/ProjectDataModel/RimColorLegendCollection.cpp index c94b051bd5..16aca3f6d9 100644 --- a/ApplicationCode/ProjectDataModel/RimColorLegendCollection.cpp +++ b/ApplicationCode/ProjectDataModel/RimColorLegendCollection.cpp @@ -39,6 +39,7 @@ RimColorLegendCollection::RimColorLegendCollection() ":/Legend.png", "", "" ); + m_standardColorLegends.xmlCapability()->disableIO(); CAF_PDM_InitFieldNoDefault( &m_customColorLegends, "CustomColorLegends", "Custom Color Legends", ":/Legend.png", "", "" ); }