From f9671a988ba2124468a7247ed17771ce1f2f30ae Mon Sep 17 00:00:00 2001 From: Kevin Welsh Date: Thu, 8 Aug 2024 12:11:15 -0400 Subject: [PATCH] actually use the alpha value... --- .../planning_scene_rviz_plugin/src/planning_scene_display.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/moveit_ros/visualization/planning_scene_rviz_plugin/src/planning_scene_display.cpp b/moveit_ros/visualization/planning_scene_rviz_plugin/src/planning_scene_display.cpp index a9d6419730..6c51f6c3c5 100644 --- a/moveit_ros/visualization/planning_scene_rviz_plugin/src/planning_scene_display.cpp +++ b/moveit_ros/visualization/planning_scene_rviz_plugin/src/planning_scene_display.cpp @@ -347,7 +347,7 @@ void PlanningSceneDisplay::changedSceneName() void PlanningSceneDisplay::renderPlanningScene() { QColor color = scene_color_property_->getColor(); - Ogre::ColourValue env_color(color.redF(), color.greenF(), color.blueF()); + Ogre::ColourValue env_color(color.redF(), color.greenF(), color.blueF(), scene_alpha_property_->getFloat()); if (attached_body_color_property_) color = attached_body_color_property_->getColor(); Ogre::ColourValue attached_color(color.redF(), color.greenF(), color.blueF());