From a8b3abc7fc48c66573c593578c47688d98c1a21a Mon Sep 17 00:00:00 2001 From: Sergey Sharybin Date: Mon, 13 Jan 2014 16:29:07 +0600 Subject: Remove direct lattice modifiers calc from the drawing code Same as mballs and curves it was only to work around DAG stupidness which hopefully was fixed in one of the previous commits. From quick tests everything works fine, if something is broken now poke me to find a proper solution. --- source/blender/editors/space_view3d/drawobject.c | 3 --- 1 file changed, 3 deletions(-) (limited to 'source/blender/editors/space_view3d') diff --git a/source/blender/editors/space_view3d/drawobject.c b/source/blender/editors/space_view3d/drawobject.c index 52fdb6f50df..2fcad557a5f 100644 --- a/source/blender/editors/space_view3d/drawobject.c +++ b/source/blender/editors/space_view3d/drawobject.c @@ -1901,9 +1901,6 @@ static void drawlattice(Scene *scene, View3D *v3d, Object *ob) int actdef_wcol = 0; const bool is_edit = (lt->editlatt != NULL); - /* now we default make displist, this will modifiers work for non animated case */ - if (ELEM(NULL, ob->curve_cache, ob->curve_cache->disp.first)) - BKE_lattice_modifiers_calc(scene, ob); dl = BKE_displist_find(&ob->curve_cache->disp, DL_VERTS); if (is_edit) { -- cgit v1.2.3