Fixed incorrect calculation of constructive modifiers when rendering.

DerivedMesh was crating from object's disp instead of specified one.
This commit is contained in:
Sergey Sharybin 2010-03-14 13:05:42 +00:00
parent 004925c0f1
commit ac76568e67

@ -1391,7 +1391,7 @@ static void curve_calc_modifiers_post(Scene *scene, Object *ob, ListBase *dispba
CDDM_calc_normals(dm);
}
} else {
dm= CDDM_from_curve(ob);
dm= CDDM_from_curve_customDB(ob, dispbase);
if(dmDeformedVerts) {
CDDM_apply_vert_coords(dm, dmDeformedVerts);