[openrtm-commit:02722] r863 - trunk/OpenRTM-aist-Python/OpenRTM_aist

openrtm @ openrtm.org openrtm @ openrtm.org
2017年 8月 2日 (水) 17:43:19 JST


Author: miyamoto
Date: 2017-08-02 17:43:19 +0900 (Wed, 02 Aug 2017)
New Revision: 863

Modified:
   trunk/OpenRTM-aist-Python/OpenRTM_aist/Manager.py
Log:
[incompat,->RELENG_1_2] refs #4150

Modified: trunk/OpenRTM-aist-Python/OpenRTM_aist/Manager.py
===================================================================
--- trunk/OpenRTM-aist-Python/OpenRTM_aist/Manager.py	2017-08-02 07:59:55 UTC (rev 862)
+++ trunk/OpenRTM-aist-Python/OpenRTM_aist/Manager.py	2017-08-02 08:43:19 UTC (rev 863)
@@ -882,9 +882,10 @@
     if not self.procComponentArgs(comp_args, comp_id, comp_prop):
       return None
     
-    comp = self.getComponent(comp_prop)
-    if comp:
-      return comp
+    if comp_prop.getProperty("instance_name"):
+      comp = self.getComponent(comp_prop.getProperty("instance_name"))
+      if comp:
+        return comp
     
     self._listeners.rtclifecycle_.preCreate(comp_args)
 



More information about the openrtm-commit mailing list