Page MenuHome

Fix T80008: Use a better smooth algorithm to smooth mesh boundaries by default
ClosedPublic

Authored by Pablo Dobarro (pablodp606) on Aug 23 2020, 1:51 AM.
Tags
None
Tokens
"Love" token, awarded by gilberto_rodrigues."Love" token, awarded by erickblender."Love" token, awarded by ate1."Love" token, awarded by RedMser."Love" token, awarded by n-pigeon."Love" token, awarded by ogonek."Love" token, awarded by jmztn."Like" token, awarded by filibis."Love" token, awarded by billreynish."100" token, awarded by MetinSeven."Like" token, awarded by ckohl_art.

Details

Summary

In 2.83 and previous versions there was a bug that was causing boundary
vertices to be detected incorrectly that was preventing the smooth brush
to work on boundaries if there was a pole on them.
In 2.90 the boundary vertex detection was fixed, but it was still using a
simplified version of the algorithm without any boundary smoothing. This
patch implements a similar smoothing algorithm to what I think it was
the intention of 2.83 and previous versions, but working correctly.

2.83 smooth, this is why the default smooth algorithm was changed:

2.91 after the fix:

Diff Detail

Repository
rB Blender
Branch
T80008 (branched from master)
Build Status
Buildable 9741
Build 9741: arc lint + arc unit

Event Timeline

Pablo Dobarro (pablodp606) requested review of this revision.Aug 23 2020, 1:51 AM

Code seems fine, but the commit message needs adjustment. See the guidelines [1]

The title should be clear for users, and release logs. So is better to phrase in a way like "Fix T80008: Smooth brush produces artifacts". Or something like this.

So please adjust the message according to the guidelines and commit to Git.

[1] https://wiki.blender.org/wiki/Style_Guide/Commit_Messages#Bug_Fixes

This revision is now accepted and ready to land.Aug 24 2020, 9:16 AM