Skip to content

Commit

Permalink
Fixed test
Browse files Browse the repository at this point in the history
Signed-off-by: Alejandro Hernández Cordero <[email protected]>
  • Loading branch information
ahcorde committed Sep 4, 2024
1 parent c3c9fc0 commit 1361960
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/usd_parser/USDLights.cc
Original file line number Diff line number Diff line change
Expand Up @@ -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));
Expand Down

0 comments on commit 1361960

Please sign in to comment.