X-Hax / SonicAdventureBlenderIO

An addon for Blender 4.0+, which adds exporting options for all sonic adventure 3D formats (and a bit more)!
GNU General Public License v3.0
17 stars 1 forks source link

Ignore Scale Node Flag - Incorrect on Export #14

Open ItsEasyActually opened 2 weeks ago

ItsEasyActually commented 2 weeks ago

Importing an object that has any nodes set to use the Ignore Scale Node flag will import with that flag set, however exports will set the flag to false. It appears that the flag on export may unintentionally be getting the Ignore Rotation flag instead as that flag being set sets both Ignore Rotation and Ignore Scale on export.

Steps to reproduce are simple, import the model in this zip and export it back to sa1mdl. Any nodes with the Ignore Scale set to True in Blender will have that flag set to False on export.

For reference, the head mesh and the palm meshes have only the Ignore Scale flag set to True, and it will be False on export. The eye globe mesh, however, has both Ignore Scale and Ignore Rotation set to True, and this one will export correctly.