pattern引用重解析,修复完成

This commit is contained in:
2026-08-31 16:01:53 +08:00
parent dee5e7557a
commit d192ac5ccd
3 changed files with 136 additions and 4 deletions
@@ -102,6 +102,12 @@ def pattern_transform_blocker(source: FeaturePlanNode) -> str | None:
# 孔宿主面:主体上的固定面,不随实例平移;实例位置由 positions
# 平移决定(_translated_node),selector 原样保留即可正确 resolve。
continue
if selector.get("kind") == "plane" and source.atomic_id == "pattern_mirror" and selector.get("owner_feature_id"):
# #6 pattern 引用重解析:pattern_mirror 的镜像面是对
# reference_plane 的 plane 引用(带 owner_feature_id),重放时
# 由运行时从 owner 解析显式 frame 并随实例变换
# (_translated_node/_mirrored_node 内联 frame),放行。
continue
return "feature selector"
host = source.params.get("host_face")
if host is not None and not _has_explicit_host_frame(source.params):