diff --git a/DDCore/src/LCDDImp.cpp b/DDCore/src/LCDDImp.cpp index e75b59f2e1b5c9105ad5b97f3b3fc85f0b1918d9..96c4469d8593154eaa4055d8c97d6442dbd4f735 100644 --- a/DDCore/src/LCDDImp.cpp +++ b/DDCore/src/LCDDImp.cpp @@ -338,7 +338,9 @@ void LCDDImp::endDocument() { worldVis.setColor(1.0, 1.0, 1.0); worldVis.setLineStyle(VisAttr::SOLID); worldVis.setDrawingStyle(VisAttr::WIREFRAME); +#ifndef DD4HEP_EMULATE_TGEOEXTENSIONS m_worldVol.setVisAttributes(worldVis); +#endif add(worldVis); /// Since we allow now for anonymous shapes,