Fix #30398: Mesh objects with curve modifiers render in thier 'rest' position, not thier 'pose' position

Do not recalculate curve's path if displist is building for orco -- in this
case modifiers are not applying on curve which makes path be calculated and
later used by dependent objects with it's non-modified state.
This commit is contained in:
Sergey Sharybin 2012-04-02 15:06:21 +00:00
parent b059554882
commit 7c4bb6f4b7

@ -1401,7 +1401,7 @@ static void do_makeDispListCurveTypes(Scene *scene, Object *ob, ListBase *dispba
curve_to_filledpoly(cu, nubase, dispbase);
}
if (cu->flag & CU_PATH) calc_curvepath(ob);
if ((cu->flag & CU_PATH) && !forOrco) calc_curvepath(ob);
/* make copy of 'undeformed" displist for texture space calculation
* actually, it's not totally undeformed -- pre-tessellation modifiers are