fix [#26888] 3D viewport shading broken after solidify modifier

This commit is contained in:
2011-04-12 12:59:37 +00:00
parent 6e98c791af
commit 62c0dfbb46

View File

@@ -643,6 +643,11 @@ static DerivedMesh *applyModifier(ModifierData *md, Object *ob,
MEM_freeN(edge_order);
}
/* must recalculate normals with vgroups since they can displace unevenly [#26888] */
if(dvert) {
CDDM_calc_normals(result);
}
return result;
}