|
|
@@ -109,13 +109,12 @@ const clickHandler = (item: AnimationModel) => {
|
|
|
const selectModel = async () => {
|
|
|
const groups = await fetchMaterialGroups();
|
|
|
const group = groups.find((item) => item.useType === "animation");
|
|
|
- console.error(group);
|
|
|
const list = await selectMaterials({
|
|
|
- uploadFormat: ["animation-model"],
|
|
|
+ uploadFormat: ["zip"],
|
|
|
// format: ["glb"],
|
|
|
isSystem: 1,
|
|
|
maxSize: 2 * 1024 * 1024 * 1024,
|
|
|
- readonly: true,
|
|
|
+ readonly: false,
|
|
|
groupIds: group ? [group.id] : undefined,
|
|
|
});
|
|
|
if (!list?.length) return;
|