johnzero7 / XNALaraMesh

Blender addon Import/Export XPS Models, Poses
525 stars 94 forks source link

XPS Plugin - Blender 4.0.1 #106

Open Marcelievsky opened 9 months ago

Marcelievsky commented 9 months ago

Hello!

I'm receiving several different errors when I try to import a model using the latest plugin (XPS Tools 2.0.2) with Blender 4.0.1. Could you check, please?

If you want additional info, let me know!

SimonAkers commented 9 months ago

Hey there, I'm not the dev but have used the plugin recently and can provide my findings.

This plugin is currently incompatible with Blender 4.0+ due to a breaking change in part of the Blender API. Until the plugin is updated to implement the new API, it will only work with Blender versions prior to 4.0. I recommend Blender 3.6.5, the last release before 4.0, which you can download at the bottom of this page: https://download.blender.org/release/Blender3.6/

I will mention that I have started some work on updating the plugin myself, if I get a working version then I will make a PR or a fork of the repo. I can't guarantee anything though, for now it's best to rely on an older version of Blender.

Hope that helps!

Marcelievsky commented 9 months ago

Hey there, I'm not the dev but have used the plugin recently and can provide my findings.

This plugin is currently incompatible with Blender 4.0+ due to a breaking change in part of the Blender API. Until the plugin is updated to implement the new API, it will only work with Blender versions prior to 4.0. I recommend Blender 3.6.5, the last release before 4.0, which you can download at the bottom of this page: https://download.blender.org/release/Blender3.6/

I will mention that I have started some work on updating the plugin myself, if I get a working version then I will make a PR or a fork of the repo. I can't guarantee anything though, for now it's best to rely on an older version of Blender.

Hope that helps!

Thank you Simon! You're a godsend! Good luck coding the updated XPS Tools

shankarsivarajan commented 8 months ago

Mysteryem's fork works for me.

SimonAkers commented 8 months ago

Mysteryem's fork works for me.

Just peeked at it, it looks good! Glad someone got to it, I haven't had the time. Hopefully that gets merged.

Iamtheone23643 commented 5 months ago

I still can't import models to the 4.0 version of Blender.

SimonAkers commented 5 months ago

@Iamtheone23643 Try PR #104, it should let you import with Blender 4.0. Still waiting for it to be reviewed and merged into master branch by @johnzero7 (or another maintainer, not sure if there are any).

Adamfal commented 5 months ago

Hey, how do I download the updated version that works with 4.0? Whenever I click on the green code button it downloads as zip, but it's the version that doesn't support 4.0.

SimonAkers commented 5 months ago

Mysteryem's fork

@Adamfal try this fork. It's also available in PR #104. If I'm not mistaken you can just install the downloaded ZIP file like any other Blender plugin, just go to the plugin manager in Blender and select the ZIP file.

Adamfal commented 5 months ago

Thanks! :)

Adamfal commented 5 months ago

Mysteryem's fork

@Adamfal try this fork. It's also available in PR #104. If I'm not mistaken you can just install the downloaded ZIP file like any other Blender plugin, just go to the plugin manager in Blender and select the ZIP file.

Is there any reason as to why the bones are hidden when switching to Pose mode?

ArieLeo commented 4 months ago

Just a heads up for those who are using Blender 4.1+ Mysteryem's fork did work, but you need to comment line 669 and 673 due blender move AutoSmooth from internal function into a modifier via Geometry Nodes

CartoonNickname commented 4 months ago

Just a heads up for those who are using Blender 4.1+ Mysteryem's fork did work, but you need to comment line 669 and 673 due blender move AutoSmooth from internal function into a modifier via Geometry Nodes

Ok. but what file do I comment that in?

ArieLeo commented 4 months ago

Just a heads up for those who are using Blender 4.1+ Mysteryem's fork did work, but you need to comment line 669 and 673 due blender move AutoSmooth from internal function into a modifier via Geometry Nodes

Ok. but what file do I comment that in?

oh sorry totally forgot to add that, it's "import_xnalara_model.py" file

shankarsivarajan commented 2 months ago

Just for convenience, here's my fork with those two lines commented out. (I also created a Pull Request).

amnoniymous commented 2 months ago

Just for convenience, here's my fork with those two lines commented out. (I also created a Pull Request).

Thanks a lot!