feat(编辑能力): 修复复合对象裁剪丢失,优化选区性能
build.yaml / build (push) Successful in 38s

This commit is contained in:
xiaoqidun committed 2026-09-17 11:51:28 +08:00
1 parent 2cc6c121f8
commit 7f79d1e70a
18 files changed
+757 -129

No files matched your search

+2 -1
View File
@@ -220,6 +220,7 @@ func (r *Reader) loadRes(resPath string) {
for i := range res.ColorSpaces.ColorSpace {
cs := &res.ColorSpaces.ColorSpace[i]
r.colorSpaceCache[cs.ID] = cs
r.resourceFiles[cs.ID] = fullPath
}
for _, mm := range res.MultiMedias.MultiMedia {
if mm.MediaFile != "" {
@@ -456,7 +457,7 @@ func (r *Reader) ResPath(resLink string) string {
if rootDir != "" && (resLink == rootDir || strings.HasPrefix(resLink, rootDir+"/")) {
return resLink
}
return path.Join(r.RootDir, resLink)
return cleanPackagePath(path.Join(r.RootDir, resLink))
}
// ResData 获取资源文件数据