nostyleguy / io_scene_swg_msh

5 stars 6 forks source link

MGN Files not importing correctly on Linux #1

Open Liltheris opened 7 months ago

Liltheris commented 7 months ago

When importing mgn files on Linux, the file paths are wrong, and textures are missing from the automatic assignment. Using Blender 3.4.1 on Arch Linux

The missing textures also appear inconsistent, I have confirmed that the missing files do exist in my export. Screenshots are included below.

asset storage path Import object path missing textures

EDIT: Changing line 41 in import_mgn.py to be mesh_name=os.path.basename(filepath).rsplit( ".", 1 )[ 0 ] resolves the object name issue.

Liltheris commented 7 months ago

Have also updated to newest version of addon to confirm. Same issue