Blender Git Loki
Git Commits -> Revision 7f63996
Revision 7f63996 by Philipp Oeser (lineart-shadow) December 8, 2021, 06:53 (GMT) |
Fix T93611: Curve modifier crash in editmode in certain situations Caused by {rB3b6ee8cee708} Above commit was trying to get the vertexgroup from the mesh that is passed into `deformVertsEM` (but that can be NULL). When can it be NULL, when is is non-NULL? `editbmesh_calc_modifiers` only passes in a non-NULL mesh to `deformVertsEM` under certain conditions: - a non-deform-only modifier is handled currently - a non-deform-only modifier preceeds the current modifier - a deform-only modifier preceeds the current modifier (and the current one depends on normals) So the passed-in mesh cannot be relied on, now get the vertex group from the context object data (like it was before the culprit commit). Related commit: rB8f22feefbc20 Maniphest Tasks: T93611 Differential Revision: https://developer.blender.org/D13487 |
Commit Details:
Full Hash: 7f63996483a39e898a54d4f4fa949c38ac7f151a
Parent Commit: 7bcaeaf
Committed By: YimingWu
Lines Changed: +1, -1
1 Modified Path:
/source/blender/modifiers/intern/MOD_curve.c (+1, -1) (Diff)