Welcome to mirror list, hosted at ThFree Co, Russian Federation.

git.blender.org/blender.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorCampbell Barton <ideasman42@gmail.com>2020-02-19 05:23:39 +0300
committerCampbell Barton <ideasman42@gmail.com>2020-02-19 05:33:53 +0300
commit9f8dd4f9e5c0a397485262ec815a88de4fa6cee4 (patch)
treec5a82e6fb28cecbd4a73c030709ead3788c358ae /source/blender/editors/space_nla
parenteef5b506d5ce5086ab7e91cb243f2d387e60d9c4 (diff)
BLI_math: unify zero area checks for barycentric weight calculation
This applies the change from T73348 fix to related functions. Instead of checking against an epsilon to avoid divide by zero, perform the division and check the result is finite. This is needed since small faces can have an area under 'FLT_EPSILON', and dividing by values close to zero can result in 'inf'.
Diffstat (limited to 'source/blender/editors/space_nla')
0 files changed, 0 insertions, 0 deletions