fix parent_uuid fetch when bind_parent_id == node_name

This commit is contained in:
Xuwznln
2026-01-14 14:17:29 +08:00
parent 31c9f9a172
commit 9dfd58e9af

View File

@@ -395,6 +395,9 @@ class BaseROS2DeviceNode(Node, Generic[T]):
for r in rts.root_nodes:
# noinspection PyUnresolvedReferences
r.res_content.parent_uuid = parent_resource.unilabos_uuid
else:
for r in rts.root_nodes:
r.res_content.parent_uuid = self.uuid
if len(LIQUID_INPUT_SLOT) and LIQUID_INPUT_SLOT[0] == -1 and len(rts.root_nodes) == 1 and isinstance(rts.root_nodes[0], RegularContainer):
# noinspection PyTypeChecker