Skip to content

Commit 2385815

Browse files
Set user index for CastHullShape
1 parent 79e96de commit 2385815

File tree

1 file changed

+1
-0
lines changed
  • tesseract/tesseract_collision/include/tesseract_collision/bullet

1 file changed

+1
-0
lines changed

tesseract/tesseract_collision/include/tesseract_collision/bullet/bullet_utils.h

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -232,6 +232,7 @@ struct CastHullShape : public btConvexShape
232232
CastHullShape(btConvexShape* shape, const btTransform& t01) : m_shape(shape), m_t01(t01)
233233
{
234234
m_shapeType = CUSTOM_CONVEX_SHAPE_TYPE;
235+
setUserIndex(m_shape->getUserIndex());
235236
}
236237

237238
void updateCastTransform(const btTransform& t01) { m_t01 = t01; }

0 commit comments

Comments
 (0)