Page MenuHome

Barycentric Weights compared against 0 instead of FLT_EPSILON
Needs ReviewPublic

Authored by Cody Winchester (CodyWinch) on Tue, Feb 11, 10:53 PM.

Details

Summary

Switches out the barycentric_weights comparison against FLT_EPSILON for comparison to not 0.0f. Prevents tiny geometry from returning wrong weights for the Surface deform modifier related to this bug https://developer.blender.org/T73348

Brings it into line with the other barycentric weights functions which also test against zero instead of epsilon.

Diff Detail

Repository
rB Blender

Event Timeline