修改pose标签设定机制

This commit is contained in:
zhangshixiang
2025-12-06 16:20:49 +08:00
parent 91aadba4ef
commit 1ef698dde6

View File

@@ -147,7 +147,7 @@ class ResourceDictInstance(object):
if not content.get("extra"): # MagicCode if not content.get("extra"): # MagicCode
content["extra"] = {} content["extra"] = {}
if "position" in content: if "position" in content:
pose = content["config"].get("pose",{}) pose = content.get("pose",{})
if "position" not in pose : if "position" not in pose :
if "position" in content["position"]: if "position" in content["position"]:
pose["position"] = content["position"]["position"] pose["position"] = content["position"]["position"]