soc-2008-mxcurioni: merged changes to revision 15705
[blender.git] / source / blender / src / drawobject.c
index 045bf292446225718cd1e6bad03250c3d716d32c..1a469e8b3660b29e2e6b22008a13e6f6efb94ebb 100644 (file)
@@ -1199,7 +1199,12 @@ static void drawlattice(Object *ob)
        int use_wcol= 0;
 
        lt= (ob==G.obedit)?editLatt:ob->data;
+       
+       /* now we default make displist, this will modifiers work for non animated case */
+       if(ob->disp.first==NULL)
+               lattice_calc_modifiers(ob);
        dl= find_displist(&ob->disp, DL_VERTS);
+       
        if(ob==G.obedit) {
                cpack(0x004000);