gazebosim / gz-sim

Open source robotics simulator. The latest version of Gazebo.
https://gazebosim.org
Apache License 2.0
621 stars 251 forks source link

Handle null mesh pointers #2341

Closed iche033 closed 3 months ago

iche033 commented 3 months ago

🦟 Bug fix

Summary

In the same spirit as https://github.com/gazebosim/gz-rendering/pull/982, this PR adds sanity checks for null pointers returned by common::MeshManager.

Checklist

Note to maintainers: Remember to use Squash-Merge and edit the commit message to match the pull request summary while retaining Signed-off-by messages.