Skip to content

Commit

Permalink
Fix convert convex hull to set correct creation method
Browse files Browse the repository at this point in the history
  • Loading branch information
Levi-Armstrong committed Jul 1, 2023
1 parent de932b4 commit 1cd9f54
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion tesseract_collision/bullet/src/convex_hull_utils.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -118,7 +118,7 @@ tesseract_geometry::ConvexMesh::Ptr makeConvexMesh(const tesseract_geometry::Mes
int ch_num_faces = createConvexHull(*ch_vertices, *ch_faces, *mesh.getVertices());
auto convex_mesh = std::make_shared<tesseract_geometry::ConvexMesh>(
ch_vertices, ch_faces, ch_num_faces, mesh.getResource(), mesh.getScale());
convex_mesh->setCreationMethod(tesseract_geometry::ConvexMesh::MESH);
convex_mesh->setCreationMethod(tesseract_geometry::ConvexMesh::CONVERTED);
return convex_mesh;
}

Expand Down

0 comments on commit 1cd9f54

Please sign in to comment.