Skip to content

Commit

Permalink
Fix segmentation fault in mesh_filter/gl_renderer (#2834)
Browse files Browse the repository at this point in the history
---------

Co-authored-by: Sebastian Jahr <[email protected]>
  • Loading branch information
CihatAltiparmak and sjahr authored May 31, 2024
1 parent 82ef3fc commit 672e0ec
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion moveit_ros/perception/mesh_filter/src/gl_renderer.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -387,7 +387,7 @@ void mesh_filter::GLRenderer::createGLContext()

if (context_it == s_context.end())
{
s_context.at(thread_id) = std::pair<unsigned, GLuint>(1, 0);
s_context.insert({ thread_id, std::pair<unsigned, GLuint>(1, 0) });

glutInitWindowPosition(glutGet(GLUT_SCREEN_WIDTH) + 30000, 0);
glutInitWindowSize(1, 1);
Expand Down

0 comments on commit 672e0ec

Please sign in to comment.