From ff74fc7e2e0b5f934b5c9a2aabfb9aaf98ac97b6 Mon Sep 17 00:00:00 2001 From: Markus Frank <markus.frank@cern.ch> Date: Mon, 27 Jan 2014 18:18:45 +0000 Subject: [PATCH] Fix for root version < 5.34.9 --- DDCore/src/LCDDImp.cpp | 2 ++ 1 file changed, 2 insertions(+) diff --git a/DDCore/src/LCDDImp.cpp b/DDCore/src/LCDDImp.cpp index e75b59f2e..96c4469d8 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, -- GitLab