From fe9fbfbeaa2833d9420f531f4ffc0e6541d8d502 Mon Sep 17 00:00:00 2001 From: Alp Akgun Date: Fri, 16 Jun 2023 14:21:27 -0400 Subject: [PATCH] fix for not having transparency in collision scenes on rviz. --- .../rviz_plugin_render_tools/src/planning_scene_render.cpp | 1 + 1 file changed, 1 insertion(+) diff --git a/moveit_ros/visualization/rviz_plugin_render_tools/src/planning_scene_render.cpp b/moveit_ros/visualization/rviz_plugin_render_tools/src/planning_scene_render.cpp index 30b93ce190..e9bb41b4e2 100644 --- a/moveit_ros/visualization/rviz_plugin_render_tools/src/planning_scene_render.cpp +++ b/moveit_ros/visualization/rviz_plugin_render_tools/src/planning_scene_render.cpp @@ -109,6 +109,7 @@ void PlanningSceneRender::renderPlanningScene(const planning_scene::PlanningScen color.r = c.r; color.g = c.g; color.b = c.b; + color.a = c.a; alpha = c.a; } for (std::size_t j = 0; j < object->shapes_.size(); ++j)