From b7b31f6c0347479c8767cf38a3ff2a631fccdf99 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Jacob=20St=C3=B8ren?= Date: Fri, 17 Feb 2017 11:18:58 +0100 Subject: [PATCH] Well Alloc plots: Differentiated gray colors for "Total", "Reservoir" and "Others" --- .../ProjectDataModel/Flow/RimFlowDiagSolution.cpp | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/ApplicationCode/ProjectDataModel/Flow/RimFlowDiagSolution.cpp b/ApplicationCode/ProjectDataModel/Flow/RimFlowDiagSolution.cpp index 673989e841..a54e0edc67 100644 --- a/ApplicationCode/ProjectDataModel/Flow/RimFlowDiagSolution.cpp +++ b/ApplicationCode/ProjectDataModel/Flow/RimFlowDiagSolution.cpp @@ -312,7 +312,11 @@ cvf::Color3f RimFlowDiagSolution::tracerColor(QString tracerName) } } - return cvf::Color3f::DARK_GRAY; + if (tracerName == RIG_FLOW_TOTAL_NAME) return cvf::Color3f::LIGHT_GRAY; + if (tracerName == RIG_RESERVOIR_TRACER_NAME) return cvf::Color3f::LIGHT_GRAY; + if (tracerName == RIG_TINY_TRACER_GROUP_NAME) return cvf::Color3f::DARK_GRAY; + + return cvf::Color3f::LIGHT_GRAY; } //--------------------------------------------------------------------------------------------------