fix: change images to files

This commit is contained in:
BennyKok
2023-12-21 15:59:54 +08:00
committed by EdwinWong
parent 6e696359ab
commit a55cbec6b4
+1 -1
View File
@@ -75,7 +75,7 @@ class AvatarMainOutput(blender_node.ObjectOps):
return {
"ui": {
"gltfFilename": {filepath.replace(f"{self.output_dir}/", "")},
"images": [{
"files": [{
"filename": filepath.replace(f"{self.output_dir}/", ""),
"type": "model/gltf+json",
},],