Fix #119520: Auto smooth modifier added unnecessarily with bevel #119638

Merged
Hans Goudey merged 1 commits from HooglyBoogly/blender:fix-auto-smooth-versioning-bevel into blender-v4.1-release 2024-03-18 21:43:33 +01:00

1 Commits

Author SHA1 Message Date
Hans Goudey de99f94140 Fix #119520: Auto smooth modifier added unnecessarily with bevel
buildbot/vexp-code-patch-lint Build done. Details
buildbot/vexp-code-patch-linux-x86_64 Build done. Details
buildbot/vexp-code-patch-darwin-x86_64 Build done. Details
buildbot/vexp-code-patch-darwin-arm64 Build done. Details
buildbot/vexp-code-patch-windows-amd64 Build done. Details
buildbot/vexp-code-patch-coordinator Build done. Details
If the bevel "Harden Normals" option is on, custom normals will be
generated. In that case, the automatic sharp edge tagging based on the
angle shouldn't run. This PR extends the earlier fix to #116395 to
handle this case and also extends the check to not just check the last
modifier, which doesn't work in this test file which has a collision
modifier at the end. That makes sense anyway, since what we really care
about is whether the evaluated mesh has custom normals or not.
2024-03-18 15:42:11 -04:00