补齐场景素材快速编辑白名单
同步前端与后端场景快速编辑准入 锁定用户素材标签覆盖的双端白名单 补充新增素材类型的快速编辑检查点 更新场景与画布契约文档
This commit is contained in:
@@ -3945,6 +3945,7 @@ pub(crate) fn ensure_editor_image_edit_source_kind_allowed(
|
||||
| "icon-spec"
|
||||
| "publication-material"
|
||||
| "ui-design"
|
||||
| "scene"
|
||||
)
|
||||
);
|
||||
let media_type_allowed = matches!(media_type, None | Some("image"));
|
||||
@@ -20275,6 +20276,7 @@ mod tests {
|
||||
(Some("icon-spec"), Some("image"), true),
|
||||
(Some("publication-material"), Some("image"), true),
|
||||
(Some("ui-design"), Some("image"), true),
|
||||
(Some("scene"), Some("image"), true),
|
||||
(Some("icon"), Some("image"), false),
|
||||
(Some("character-animation"), Some("image-sequence"), false),
|
||||
(Some("sound-effect"), Some("audio"), false),
|
||||
|
||||
Reference in New Issue
Block a user