[Bf-blender-cvs] [0abce919400] master: Fix test failure caused by earlier cleanup commit
Hans Goudey
noreply at git.blender.org
Tue Jun 8 05:33:18 CEST 2021
Commit: 0abce9194002d23292342c4146d3a7fe8abdfaad
Author: Hans Goudey
Date: Mon Jun 7 22:33:05 2021 -0500
Branches: master
https://developer.blender.org/rB0abce9194002d23292342c4146d3a7fe8abdfaad
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.
===================================================================
M source/blender/blenkernel/intern/displist.cc
===================================================================
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);
More information about the Bf-blender-cvs
mailing list