Skip to content

Commit

Permalink
Vroid2Pmx v2.1.6
Browse files Browse the repository at this point in the history
  • Loading branch information
miu200521358 committed Oct 29, 2023
1 parent eead238 commit 3716e5f
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions src/service/VroidExportService.py
Original file line number Diff line number Diff line change
Expand Up @@ -3018,15 +3018,15 @@ def create_model(self):
"出力ソフト情報がないため、処理を中断します。\nvrm1.0でエクスポートした場合、vrm0.0でエクスポートし直してください。",
decoration=MLogger.DECORATION_BOX,
)
return None, None, None
return None, None, None, None

if (
"extensions" not in model.json_data
or "VRM" not in model.json_data["extensions"]
or "meta" not in model.json_data["extensions"]["VRM"]
):
logger.error("メタ情報がないため、処理を中断します。", decoration=MLogger.DECORATION_BOX)
return None, None, None
return None, None, None, None

# if "VRoidStudio-0." in model.json_data["extensions"]["VRM"]["exporterVersion"]:
# # VRoid Studioベータ版はNG
Expand Down Expand Up @@ -3108,7 +3108,7 @@ def create_model(self):

if "images" not in model.json_data:
logger.error("変換可能な画像情報がないため、処理を中断します。", decoration=MLogger.DECORATION_BOX)
return None, None, None
return None, None, None, None

# jsonデータの中に画像データの指定がある場合
image_offset = 0
Expand Down

0 comments on commit 3716e5f

Please sign in to comment.