Blender Git Loki
Git Commits -> Revision eafb1f5
Revision eafb1f5 by Alexander Gavrilov December 29, 2020, 17:01 (GMT) |
Weight Paint: avoid creating very small values with locked weights. When painting using Auto-Normalize or Lock Relative with some groups locked, the locked weights may not add up precisely to 1 because of precision limitations, which results in creating nonzero weights close to FLT_EPSILON. With Lock Relative display mode this is very obvious and annoying (random red points amid black or blue), so add an epsilon check to consider less than 1e-6 unlocked weight to be the same as 0. In addition, in cases when no weight can be painted due to locks, don't create vertex group entries at all if they don't exist yet. |
Commit Details:
Full Hash: eafb1f570de9872023e12eaf9ad74c2acda63541
Parent Commit: bae1ade
Lines Changed: +34, -9