feat(编辑渲染): 完善三维转换,优化编辑渲染压缩

This commit is contained in:
xiaoqidun committed 2026-10-07 10:26:20 +08:00
1 parent e8344e6387
commit 839f65e3d7
47 files changed
+4887 -112

No files matched your search

+5 -1
View File
@@ -91,7 +91,11 @@ func (e *Editor) ApplyAppearance(page int, ids []string, appearance ObjectAppear
// 返回: *DrawParam 绘制参数, error 错误信息
func (e *Editor) DrawParam(id string, resolved bool) (*DrawParam, error) {
if resolved {
return e.editorDrawParam(id, make(map[string]bool))
draw, err := e.editorDrawParam(id, make(map[string]bool))
if err != nil {
return nil, err
}
return cloneEditorData(draw), nil
}
for _, resource := range e.resources {
if resource.draw != nil && resource.draw.ID == id {