Skip to content

Commit

Permalink
[panel/visual] Fix display of scaleV
Browse files Browse the repository at this point in the history
  • Loading branch information
arntanguy committed Feb 2, 2024
1 parent f9e85e7 commit 959958e
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions mc_rtc_rviz_panel/src/VisualWidget.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -100,9 +100,9 @@ void VisualWidget::update(const rbd::parsers::Visual & visual, const sva::PTrans
{
auto & m = boost::get<Geometry::Mesh>(geom_data);
marker_.type = visualization_msgs::Marker::MESH_RESOURCE;
marker_.scale.x = m.scale;
marker_.scale.y = m.scale;
marker_.scale.z = m.scale;
marker_.scale.x = m.scaleV.x();
marker_.scale.y = m.scaleV.y();
marker_.scale.z = m.scaleV.z();
marker_.mesh_resource = m.filename;
marker_.mesh_use_embedded_materials = true;
}
Expand Down

0 comments on commit 959958e

Please sign in to comment.