Skip to content

Commit

Permalink
correctly load materials
Browse files Browse the repository at this point in the history
  • Loading branch information
Markus-Simonsen committed Nov 5, 2024
1 parent f7112b1 commit dfa8517
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion rviz_rendering/src/rviz_rendering/objects/mesh_shape.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -74,7 +74,7 @@ void MeshShape::beginTriangles()

if (!started_) {
started_ = true;
manual_object_->begin(material_name_, Ogre::RenderOperation::OT_TRIANGLE_LIST);
manual_object_->begin(material_name_, Ogre::RenderOperation::OT_TRIANGLE_LIST, "rviz_rendering");
}
}

Expand Down

0 comments on commit dfa8517

Please sign in to comment.