From d213ead8159a467eb9a7261bc3b644f000e80682 Mon Sep 17 00:00:00 2001 From: Matthijs van der Burgh Date: Wed, 9 Aug 2023 11:38:22 +0200 Subject: [PATCH] shapes -> visuals (#26) --- src/ModelParser.cpp | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/src/ModelParser.cpp b/src/ModelParser.cpp index c8b8353..2f90655 100644 --- a/src/ModelParser.cpp +++ b/src/ModelParser.cpp @@ -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::const_iterator it_shape = req.shapes.find(ed_id); - if (it_shape != req.shapes.end()) + std::map::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) {