mirror of
https://github.com/OPM/ResInsight.git
synced 2025-02-25 18:55:39 -06:00
(#272) Added visualization for custom cell edge results
This commit is contained in:
@@ -23,6 +23,7 @@
|
||||
#include "RigCaseCellResultsData.h"
|
||||
#include "RigCaseData.h"
|
||||
|
||||
#include "RimCellEdgeColors.h"
|
||||
#include "RimEclipseCase.h"
|
||||
#include "RimEclipseCellColors.h"
|
||||
#include "RimEclipseFaultColors.h"
|
||||
@@ -180,6 +181,12 @@ void RimEclipseResultDefinition::fieldChangedByUi(const caf::PdmFieldHandle* cha
|
||||
faultColors->updateConnectedEditors();
|
||||
}
|
||||
|
||||
RimCellEdgeColors* cellEdgeColors = dynamic_cast<RimCellEdgeColors*>(this->parentField()->ownerObject());
|
||||
if (cellEdgeColors)
|
||||
{
|
||||
cellEdgeColors->updateConnectedEditors();
|
||||
}
|
||||
|
||||
if (curve)
|
||||
{
|
||||
curve->updateConnectedEditors();
|
||||
|
||||
Reference in New Issue
Block a user