We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 85d6faf commit c3a1ba7Copy full SHA for c3a1ba7
geom/gdml/src/TGDMLWrite.cxx
@@ -1944,6 +1944,14 @@ XMLNodePointer_t TGDMLWrite::CreateOpticalSurfaceN(TGeoOpticalSurface *geoSurf)
1944
while ((property = (TNamed *)next()))
1945
fGdmlE->AddChild(mainN, CreatePropertyN(*property));
1946
}
1947
+ // Write CONST properties
1948
+ TList const &const_properties = geoSurf->GetConstProperties();
1949
+ if (const_properties.GetSize()) {
1950
+ TIter next(&const_properties);
1951
+ TNamed *property;
1952
+ while ((property = (TNamed *)next()))
1953
+ fGdmlE->AddChild(mainN, CreatePropertyN(*property));
1954
+ }
1955
return mainN;
1956
1957
0 commit comments