Blender Git Loki
Git Commits -> Revision 5168408
Revision 5168408 by Sybren A. Stüvel (master) January 21, 2020, 16:53 (GMT) |
Fix T72459: Mask Modifier breaks Vertex Parenting The `give_parvert()` function was only considering the mesh's original vertex indices when the parent vertex index was valid for the evaluated mesh. However, when using the Mask modifier the evaluated mesh can have less vertices but still have the parent vertex. Since the `if (nr < numVertex)` condition wasn't used to prevent any out-of-bounds access, and seems just an incorrect optimisation, it could be removed. |
Commit Details:
Full Hash: 5168408ae50a052d2a9fa795ebdb18820d5b1d67
Parent Commit: 4db9562
Lines Changed: +23, -25
1 Modified Path:
/source/blender/blenkernel/intern/object.c (+23, -25) (Diff)