Skip to content

Commit

Permalink
Merge da0e835 into 6cb6e87
Browse files Browse the repository at this point in the history
  • Loading branch information
iche033 authored Aug 25, 2023
2 parents 6cb6e87 + da0e835 commit 5c0fd12
Showing 1 changed file with 7 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -1498,6 +1498,13 @@ rendering::VisualPtr VisualizationCapabilitiesPrivate::CreateCollisionVisual(
if (!_visual.Geom())
return rendering::VisualPtr();

if (_visual.Geom()->Type() == sdf::GeometryType::HEIGHTMAP)
{
gzwarn << "Collision visualization for heightmaps are not supported yet."
<< std::endl;
return rendering::VisualPtr();
}

std::string name = _visual.Name().empty() ? std::to_string(_id) :
_visual.Name();
if (_parent)
Expand Down

0 comments on commit 5c0fd12

Please sign in to comment.