fix stuff again

- got rid of upstream stuff generated by github, which made it blow up...
- got closer on the pmx importer working
This commit is contained in:
989onan
2024-06-14 21:29:30 -04:00
parent c1f30e9fa5
commit c0509bbaf4
4 changed files with 28 additions and 20 deletions
+3 -2
View File
@@ -1,6 +1,7 @@
import bpy
import struct
import mathutils
import traceback
def read_pmd_header(file):
# Read PMD header information
@@ -219,6 +220,6 @@ def import_pmd(filepath):
print(f"Successfully imported PMD file: {filepath}")
print(f"Model Name: {model_name}")
print(f"Comment: {comment}")
except Exception as e:
except Exception:
print(f"Error importing PMD file: {filepath}")
print(f"Error details: {str(e.stacktrace)}")
print(f"Error details: {traceback.format_exc()}")