Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fix importing of custom normals #215

Merged
merged 1 commit into from
Mar 23, 2024
Merged

Conversation

sercero
Copy link
Collaborator

@sercero sercero commented Mar 23, 2024

Mostly the issue was: bpy.ops.mesh.remove_doubles(threshold=0.001), because when doing this operation the vertices get merged but the custom normals are not being copied as split normals and so we loose sharp edges.
This was mentioned here: https://projects.blender.org/blender/blender/issues/47541 but never solved.
The rest of the changes are to simplify the importing and put it more in line with the way the OBJ importer does things.

@sercero sercero merged commit 5448b31 into OGRECave:master Mar 23, 2024
1 check passed
@sercero sercero deleted the import_normals branch March 23, 2024 15:44
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant