From e6050dc39bedc501d21184513bff53c27b6fbd60 Mon Sep 17 00:00:00 2001 From: pbutti Date: Wed, 29 Jan 2025 11:57:39 +0100 Subject: [PATCH] Copy the rotation --- Plugins/GeoModel/src/detail/GeoBoxConverter.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Plugins/GeoModel/src/detail/GeoBoxConverter.cpp b/Plugins/GeoModel/src/detail/GeoBoxConverter.cpp index dcd86982b92..fed94b63960 100644 --- a/Plugins/GeoModel/src/detail/GeoBoxConverter.cpp +++ b/Plugins/GeoModel/src/detail/GeoBoxConverter.cpp @@ -33,7 +33,7 @@ Acts::detail::GeoBoxConverter::operator()(const PVConstLink& geoPV, // Create the surface transform Transform3 transform = Transform3::Identity(); transform.translation() = unitLength * absTransform.translation(); - auto rotation = absTransform.rotation(); + RotationMatrix3 rotation = absTransform.rotation(); // Get the half lengths std::vector halfLengths = {geoBox.getXHalfLength(), geoBox.getYHalfLength(),