diff options
author | Pablo Dobarro <pablodp606@gmail.com> | 2020-10-11 22:39:28 +0300 |
---|---|---|
committer | Pablo Dobarro <pablodp606@gmail.com> | 2020-10-15 20:37:56 +0300 |
commit | 750e4e1158bb1bd40c1724e24693cb22c6910f86 (patch) | |
tree | 2dba0b0a7f5ef818809ce05944d2d627fb1a9f8d /source/blender/editors/sculpt_paint/sculpt_intern.h | |
parent | 6fe3521481b26ad6b6411b0863dfcd4ac2a81132 (diff) |
Fix Multires edge adjacency info returning wrong vertex indices
ME_POLY_LOOP_NEXT and ME_POLY_LOOP_PREV expect the offset of
the loop in the poly as an argument, in other words, corner index of the poly.
This was violated in some places. It didn't cause issues when base mesh consists
of only quads due to the way how modulus worked inside of the macro. However,
if mesh had non-quad faces adjacency information was returning wrong vertex
indices. This was causing multiple brushes to work erratically, including brushes
like Face Set, Boundary automasking, mesh relax, and others.
Reviewed By: sergey
Differential Revision: https://developer.blender.org/D9173
Diffstat (limited to 'source/blender/editors/sculpt_paint/sculpt_intern.h')
0 files changed, 0 insertions, 0 deletions