Skip to content

Commit 7ef66a8

Browse files
Assign the geometry to the resource group "rviz_rendering" (#1502) (#1504)
(cherry picked from commit 6a0b301) Co-authored-by: matthias88 <[email protected]>
1 parent 62f6751 commit 7ef66a8

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

rviz_rendering/src/rviz_rendering/objects/mesh_shape.cpp

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -73,7 +73,8 @@ void MeshShape::beginTriangles()
7373

7474
if (!started_) {
7575
started_ = true;
76-
manual_object_->begin(material_name_, Ogre::RenderOperation::OT_TRIANGLE_LIST);
76+
manual_object_->begin(material_name_, Ogre::RenderOperation::OT_TRIANGLE_LIST,
77+
"rviz_rendering");
7778
}
7879
}
7980

0 commit comments

Comments
 (0)