From 89276f2d329f0c90a3ebd957f46c3c6596176c8d Mon Sep 17 00:00:00 2001 From: Riccardo Maria Bianchi <riccardo.maria.bianchi@cern.ch> Date: Fri, 27 Mar 2020 11:32:32 +0000 Subject: [PATCH] Disable "CustomShape" read. This temporary hack is made to overcome the error while reading the geometry file made with the current version of Athena dump-geo, made with an older version of GeoModelIO. --- GeoModelRead/src/ReadGeoModel.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/GeoModelRead/src/ReadGeoModel.cpp b/GeoModelRead/src/ReadGeoModel.cpp index f412a19..18dc604 100644 --- a/GeoModelRead/src/ReadGeoModel.cpp +++ b/GeoModelRead/src/ReadGeoModel.cpp @@ -1357,7 +1357,7 @@ GeoShape* ReadGeoModel::buildShape(QString shapeId) return new GeoShapeUnion(shapeA, shapeB); } //LAr custom shape - else if(type == "CustomShape") { + else if(type == "CustomShapeXXX") { std::string name = ""; // get parameters from DB string QStringList shapePars = parameters.split(";"); -- GitLab