mirror of
https://github.com/OPM/ResInsight.git
synced 2025-02-25 18:55:39 -06:00
#3492 Tidy up color code for well path components/completions and select colors that work better.
This commit is contained in:
@@ -19,6 +19,7 @@
|
||||
#include "RimFracture.h"
|
||||
|
||||
#include "RiaApplication.h"
|
||||
#include "RiaColorTables.h"
|
||||
#include "RiaCompletionTypeCalculationScheduler.h"
|
||||
#include "RiaEclipseUnitTools.h"
|
||||
#include "RiaLogging.h"
|
||||
@@ -314,7 +315,7 @@ QString RimFracture::componentTypeLabel() const
|
||||
//--------------------------------------------------------------------------------------------------
|
||||
cvf::Color3f RimFracture::defaultComponentColor() const
|
||||
{
|
||||
return cvf::Color3f(cvf::Color3::ORANGE_RED);
|
||||
return RiaColorTables::wellPathComponentColors()[componentType()];
|
||||
}
|
||||
|
||||
//--------------------------------------------------------------------------------------------------
|
||||
|
||||
Reference in New Issue
Block a user