gazebo-classic icon indicating copy to clipboard operation
gazebo-classic copied to clipboard

Avoid logging error when <empty> geometry is included

Open shonigmann opened this issue 3 years ago • 0 comments

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().

shonigmann avatar Feb 15 '22 01:02 shonigmann