diff --git a/geom/geom/src/TGeoBuilder.cxx b/geom/geom/src/TGeoBuilder.cxx index 8890e1541f6f9569291011c38a12055c1f856b9b..10b5cc8a342500f862c2b6fe84201c59461ebe80 100644 --- a/geom/geom/src/TGeoBuilder.cxx +++ b/geom/geom/src/TGeoBuilder.cxx @@ -334,7 +334,7 @@ TGeoVolume *TGeoBuilder::MakeCone(const char *name, TGeoMedium *medium, Double_t dz, Double_t rmin1, Double_t rmax1, Double_t rmin2, Double_t rmax2) { - TGeoCone *cone = new TGeoCone(dz, rmin1, rmax1, rmin2, rmax2); + TGeoCone *cone = new TGeoCone(name, dz, rmin1, rmax1, rmin2, rmax2); TGeoVolume *vol = 0; if (cone->IsRunTimeShape()) { vol = fGeometry->MakeVolumeMulti(name, medium);