Files
ResInsight/GrpcInterface/Python
Kristian Bendiksen 5a083331b0 #14192 Python: Fix duplicate discrete property legend on repeated category-name calls
RimColorLegendCollection::deleteColorLegend erased the default-legend map
entry before looking the legend up, so findDefaultLegendForResult always
returned null and the old legend was never removed from m_customColorLegends.
Each set_discrete_property_category_names call for the same property left an
orphaned legend behind and appended a new one.

Look up the legend before erasing the map key, and guard against deleting a
standard legend that may have been registered as a default.
2026-06-10 18:02:07 +02:00
..
2021-08-14 17:16:14 +02:00
2021-01-11 15:27:45 +01:00
2021-01-11 15:27:45 +01:00
2021-01-11 15:27:45 +01:00

ResInsight Processing Server - rips

A Python interface for the ResInsight visualization and post-processing suite for Reservoir Simulations

Learn More