From 136196005aa757bc77e4edb9c17820fcfcc35d94 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Alejandro=20Hern=C3=A1ndez=20Cordero?= Date: Wed, 4 Sep 2024 12:45:37 +0200 Subject: [PATCH] Fixed test MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Signed-off-by: Alejandro Hernández Cordero --- src/usd_parser/USDLights.cc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/usd_parser/USDLights.cc b/src/usd_parser/USDLights.cc index fe31454..bf90a3d 100644 --- a/src/usd_parser/USDLights.cc +++ b/src/usd_parser/USDLights.cc @@ -77,7 +77,7 @@ namespace usd // DistantLight in USD does not define height. Added some height to the // light. The default sun light in ign-gazebo sdf world is 10. - pose *= math::Pose3d(0, 0, 10, 0, 0, 0); + pose = math::Pose3d(0, 0, 10, 0, 0, 0) * pose; // Light emitted from a distant source along the -Z axis // The pose should set the direction light->SetDirection(math::Vector3d(0, 0, -1));