remove class for resource

This commit is contained in:
Xuwznln
2025-09-19 19:33:28 +08:00
parent 7aab2ea493
commit 67ca45a240

View File

@@ -193,7 +193,7 @@ _msg_converter_back: Dict[Type, Any] = {
"children": list(x.children), "children": list(x.children),
"parent": x.parent if x.parent else None, "parent": x.parent if x.parent else None,
"type": x.type, "type": x.type,
"class": x.category, "class": "",
"position": {"x": x.pose.position.x, "y": x.pose.position.y, "z": x.pose.position.z}, "position": {"x": x.pose.position.x, "y": x.pose.position.y, "z": x.pose.position.z},
"config": json_or_yaml_loads(x.config or "{}"), "config": json_or_yaml_loads(x.config or "{}"),
"data": json_or_yaml_loads(x.data or "{}"), "data": json_or_yaml_loads(x.data or "{}"),