#5766 Make it possible to change color of well disks.

This commit is contained in:
Kristian Bendiksen
2020-04-06 15:29:40 +02:00
committed by Gaute Lindkvist
parent e5eb2063be
commit 3f988f2d79
5 changed files with 28 additions and 3 deletions

View File

@@ -203,9 +203,9 @@ void RivWellDiskPartMgr::buildWellDiskParts( size_t frameIndex, const caf::Displ
if ( diskData.isSingleProperty() )
{
// Set color for the triangle vertices
cvf::Color3ub c = cvf::Color3ub( m_rimWell->wellDiskColor );
for ( size_t i = 0; i < numSectors * 3; i++ )
{
cvf::Color3ub c = cvf::Color3::OLIVE;
colorArray->set( i, c );
}