Janitor : Add name to all parts to be able to find the source code producing the part

This commit is contained in:
Magne Sjaastad committed 2021-09-03 10:01:46 +02:00
1 parent 640c59d682
commit ea6e734a55
12 files changed
+29 -2

No files matched your search

@@ -697,6 +697,7 @@ void RivWellPathPartMgr::buildWellPathParts( const caf::DisplayCoordTransform* d
if ( m_surfaceDrawable.notNull() )
{
m_surfacePart = new cvf::Part;
m_surfacePart->setName( "RivWellPathPartMgr::surface" );
m_surfacePart->setDrawable( m_surfaceDrawable.p() );
RivWellPathSourceInfo* sourceInfo = new RivWellPathSourceInfo( m_rimWellPath, m_pipeGeomGenerator.p() );
@@ -711,6 +712,7 @@ void RivWellPathPartMgr::buildWellPathParts( const caf::DisplayCoordTransform* d
if ( m_centerLineDrawable.notNull() )
{
m_centerLinePart = new cvf::Part;
m_centerLinePart->setName( "RivWellPathPartMgr::centerLinePart" );
m_centerLinePart->setDrawable( m_centerLineDrawable.p() );
caf::MeshEffectGenerator gen( m_rimWellPath->wellPathColor() );