From 0250dfcc2fa2085c810e672034296370f871067f Mon Sep 17 00:00:00 2001 From: Manfred Kroehnert <Manfred.Kroehnert@kit.edu> Date: Fri, 13 Jan 2017 14:26:50 +0100 Subject: [PATCH] replace direct property member access with call to getIceProperties() --- .../DebugDrawerViewer/DebugDrawerViewerWidgetController.cpp | 2 +- .../gui-plugins/KinematicUnitPlugin/KinematicUnitGuiPlugin.cpp | 2 +- .../gui-plugins/RobotViewerPlugin/RobotViewerGuiPlugin.cpp | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) diff --git a/source/RobotAPI/gui-plugins/DebugDrawerViewer/DebugDrawerViewerWidgetController.cpp b/source/RobotAPI/gui-plugins/DebugDrawerViewer/DebugDrawerViewerWidgetController.cpp index 62653b984..b9b89a1aa 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 53a516e7b..748b40a78 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 764ff8214..d7aa2b8c2 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) { -- GitLab