diff options
author | Hans Goudey <h.goudey@me.com> | 2021-06-08 06:33:05 +0300 |
---|---|---|
committer | Hans Goudey <h.goudey@me.com> | 2021-06-08 06:33:05 +0300 |
commit | 0abce9194002d23292342c4146d3a7fe8abdfaad (patch) | |
tree | c93ed6185330bd83233b506144540db4c0a05428 /source | |
parent | 2e46a8c8647898475004193419bd83de12f1413e (diff) |
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.
Diffstat (limited to 'source')
-rw-r--r-- | source/blender/blenkernel/intern/displist.cc | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/source/blender/blenkernel/intern/displist.cc b/source/blender/blenkernel/intern/displist.cc index 8ab406a789e..8661941bd4c 100644 --- a/source/blender/blenkernel/intern/displist.cc +++ b/source/blender/blenkernel/intern/displist.cc @@ -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); |