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

This commit is contained in:
Magne Sjaastad
2021-09-02 16:00:48 +02:00
parent 640c59d682
commit ea6e734a55
12 changed files with 29 additions and 2 deletions

View File

@@ -167,6 +167,8 @@ cvf::ref<cvf::Part> RivWellSpheresPartMgr::createPart( std::vector<std::pair<cvf
vectorDrawable->setGlyph( builder.trianglesUShort().p(), builder.vertices().p() );
cvf::ref<cvf::Part> part = new cvf::Part;
part->setName( "RivWellSpheresPartMgr" );
part->setDrawable( vectorDrawable.p() );
cvf::ref<cvf::Effect> eff = new cvf::Effect;