diff --git a/source/RobotAPI/gui-plugins/DebugDrawerViewer/DebugDrawerViewerWidgetController.cpp b/source/RobotAPI/gui-plugins/DebugDrawerViewer/DebugDrawerViewerWidgetController.cpp index 62653b98433caa6fc0a7161015624b742b03b494..b9b89a1aa2a77401face43df6c20670fbb61dde9 100644 --- a/source/RobotAPI/gui-plugins/DebugDrawerViewer/DebugDrawerViewerWidgetController.cpp +++ b/source/RobotAPI/gui-plugins/DebugDrawerViewer/DebugDrawerViewerWidgetController.cpp @@ -67,7 +67,7 @@ void DebugDrawerViewerWidgetController::onConnectComponent() // create the debugdrawer component std::string debugDrawerComponentName = "GUIDebugDrawer_" + getName(); ARMARX_INFO << "Creating component " << debugDrawerComponentName; - debugDrawer = Component::create<DebugDrawerComponent>(properties, debugDrawerComponentName); + debugDrawer = Component::create<DebugDrawerComponent>(getIceProperties(), debugDrawerComponentName); if (mutex3D) { diff --git a/source/RobotAPI/gui-plugins/KinematicUnitPlugin/KinematicUnitGuiPlugin.cpp b/source/RobotAPI/gui-plugins/KinematicUnitPlugin/KinematicUnitGuiPlugin.cpp index 53a516e7beeeb7119ed6bc04991e58ed9eaa23ff..748b40a784ab4d6176bf73a494282a5416de8c9e 100644 --- a/source/RobotAPI/gui-plugins/KinematicUnitPlugin/KinematicUnitGuiPlugin.cpp +++ b/source/RobotAPI/gui-plugins/KinematicUnitPlugin/KinematicUnitGuiPlugin.cpp @@ -107,7 +107,7 @@ void KinematicUnitWidgetController::onInitComponent() // create the debugdrawer component std::string debugDrawerComponentName = "KinemticUnitGUIDebugDrawer_" + getName(); ARMARX_INFO << "Creating component " << debugDrawerComponentName; - debugDrawer = Component::create<DebugDrawerComponent>(properties, debugDrawerComponentName); + debugDrawer = Component::create<DebugDrawerComponent>(getIceProperties(), debugDrawerComponentName); showVisuLayers(false); if (mutex3D) diff --git a/source/RobotAPI/gui-plugins/RobotViewerPlugin/RobotViewerGuiPlugin.cpp b/source/RobotAPI/gui-plugins/RobotViewerPlugin/RobotViewerGuiPlugin.cpp index 764ff8214e825d22975f2a61274d4cbfa5c6e7f3..d7aa2b8c2c3b3955c0280b36d875cd3f891dee79 100644 --- a/source/RobotAPI/gui-plugins/RobotViewerPlugin/RobotViewerGuiPlugin.cpp +++ b/source/RobotAPI/gui-plugins/RobotViewerPlugin/RobotViewerGuiPlugin.cpp @@ -124,7 +124,7 @@ void RobotViewerWidgetController::onInitComponent() { std::string debugDrawerComponentName = "RobotViewerGUIDebugDrawer_" + getName(); ARMARX_INFO << "Creating component " << debugDrawerComponentName; - debugDrawer = Component::create<DebugDrawerComponent>(properties, debugDrawerComponentName); + debugDrawer = Component::create<DebugDrawerComponent>(getIceProperties(), debugDrawerComponentName); if (mutex3D) {