From c76ebf73bf17012e304a8cee3fb6c68f1073f877 Mon Sep 17 00:00:00 2001 From: Skarn Date: Fri, 26 May 2023 17:28:26 +0300 Subject: [PATCH] fix incorrect enum property. fix #10 --- umodel_tools/asset_importer.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/umodel_tools/asset_importer.py b/umodel_tools/asset_importer.py index 6a23e5e..284e3b4 100644 --- a/umodel_tools/asset_importer.py +++ b/umodel_tools/asset_importer.py @@ -38,8 +38,8 @@ class AssetImporter: description="Format of textures expected to be in the UModel export directory.", items=[ ('.png', '.png', '', 0), - ('.dds', '.dds', '', 0), - ('.tga', '.tga', '', 0) + ('.dds', '.dds', '', 1), + ('.tga', '.tga', '', 2) ], default='.png' )