Skip to content

Commit

Permalink
shapes -> visuals (#26)
Browse files Browse the repository at this point in the history
  • Loading branch information
MatthijsBurgh authored Aug 9, 2023
1 parent 7d9b5c9 commit d213ead
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions src/ModelParser.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -74,11 +74,11 @@ Object* ModelParser::parse(const std::string& model_name, const std::string& id,
const geo::Pose3D& pose = it->second;

geo::ShapeConstPtr shape;
std::map<ed::UUID, geo::ShapeConstPtr>::const_iterator it_shape = req.shapes.find(ed_id);
if (it_shape != req.shapes.end())
std::map<ed::UUID, geo::ShapeConstPtr>::const_iterator it_shape = req.visuals.find(ed_id);
if (it_shape != req.visuals.end())
shape = it_shape->second;

if (it_shape != req.shapes.end())
if (it_shape != req.visuals.end())
{
if (ed_id.str() == id)
{
Expand Down

0 comments on commit d213ead

Please sign in to comment.