From 72e9564a8e6eedd6640337389a0c0bcc0fc0518d Mon Sep 17 00:00:00 2001 From: Yusarina Date: Sun, 30 Jun 2024 12:53:56 +0100 Subject: [PATCH] Remove old PMX and PMD folders as not needed anymore. --- core/__init__.py | 1 - core/pmd/import_pmd.py | 224 ------------------------------ core/pmx/import_pmx.py | 307 ----------------------------------------- 3 files changed, 532 deletions(-) delete mode 100644 core/pmd/import_pmd.py delete mode 100644 core/pmx/import_pmx.py diff --git a/core/__init__.py b/core/__init__.py index d1f53d5..50c92e7 100644 --- a/core/__init__.py +++ b/core/__init__.py @@ -1,7 +1,6 @@ # core/__init__.py from .register import register_wrap -from . import pmx #to reload all things in this directory and import them properly - @989onan if "bpy" not in locals(): diff --git a/core/pmd/import_pmd.py b/core/pmd/import_pmd.py deleted file mode 100644 index d23f4a9..0000000 --- a/core/pmd/import_pmd.py +++ /dev/null @@ -1,224 +0,0 @@ -import bpy -import struct -import mathutils - -def read_pmd_header(file): - # Read PMD header information - magic = file.read(3) - if magic != b'Pmd': - raise ValueError("Invalid PMD file") - - version = struct.unpack('