Skip to content

Conversation

mergify[bot]
Copy link
Contributor

@mergify mergify bot commented Sep 5, 2025

🦟 Bug fix

Fixes #3058

Summary

When attempting to set the debug visualization mode, the code now checks if giis enabled. If gi is disabled, it logs an error and always sets the debug visualization mode to None to avoid a crash.
Setting a debug visualization mode while gi is disabled can cause a crash due to invalid or released resources. This change ensures safety by forcing the mode to None when gi is not active.

Checklist

  • Signed all commits for DCO
  • Added tests
  • Updated documentation (as needed)
  • Updated migration guide (as needed)
  • Consider updating Python bindings (if the library has them)
  • codecheck passed (See contributing)
  • All tests passed (See test coverage)
  • While waiting for a review on your PR, please help review another open pull request to support the maintainers

This is an automatic backport of pull request #3059 done by [Mergify](https://mergify.com).

@github-project-automation github-project-automation bot moved this from Inbox to In review in Core development Sep 8, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
🪵 jetty Gazebo Jetty
Projects
Status: In review
Development

Successfully merging this pull request may close these issues.

Crash when switching Debug Visualization Mode while GI is disabled
2 participants