mirror of
https://github.com/xiaoqidun/ofdgo.git
synced 2026-10-30 01:27:26 +08:00
feat(编辑渲染): 完善三维转换,优化编辑渲染压缩
This commit is contained in:
1 parent
e8344e6387
commit
839f65e3d7
47 files changed
+4887
-112
No files matched your search
@@ -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 {
|
||||
|
||||
Reference in new issue
Block a user