Skip to content
This repository was archived by the owner on Feb 3, 2025. It is now read-only.

Conversation

@shonigmann
Copy link

This is a very small change to avoid an error message while using geometry in models. I simply added a check for the msgs::Geometry::EMPTY type with an empty statement to avoid writing an error message for "Unrecognized geometry type" in the default else statement.

geometry is listed as a valid option the SDF spec, and is already supported by GeometryFromSDF().

Add check for EMPTY geometry type in `GeometryToSDF()` to avoid writing an error message to the server log. <empty> geometry is listed as a valid option the [SDF spec](http://sdformat.org/spec?ver=1.9&elem=geometry#geometry_empty), and already implemented in `GeometryFromSDF()`.
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant