Fix test failure caused by earlier cleanup commit

rB8cbff7093d65 neglected to move the "pre-tesselation" modifier to the
next before calculating the second part of the curve modifier stack.
This commit is contained in:
Hans Goudey 2021-06-07 22:33:05 -05:00
parent 2e46a8c864
commit 0abce91940
1 changed files with 1 additions and 1 deletions

View File

@ -896,7 +896,7 @@ static void curve_calc_modifiers_post(Depsgraph *depsgraph,
VirtualModifierData virtualModifierData;
ModifierData *md = pretessellatePoint == nullptr ?
BKE_modifiers_get_virtual_modifierlist(ob, &virtualModifierData) :
pretessellatePoint;
pretessellatePoint->next;
if (r_final && *r_final) {
BKE_id_free(nullptr, *r_final);