diff options
author | Sergey Sharybin <sergey.vfx@gmail.com> | 2014-01-13 14:29:07 +0400 |
---|---|---|
committer | Sergey Sharybin <sergey.vfx@gmail.com> | 2014-01-13 14:29:07 +0400 |
commit | a8b3abc7fc48c66573c593578c47688d98c1a21a (patch) | |
tree | efe6716a016ff91e8832fa6b28b47e960f7c59aa /source/blender/editors/space_view3d | |
parent | d01bb0b8b6653f9a9e36c5d992f80d20405ee715 (diff) |
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.
Diffstat (limited to 'source/blender/editors/space_view3d')
-rw-r--r-- | source/blender/editors/space_view3d/drawobject.c | 3 |
1 files changed, 0 insertions, 3 deletions
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) { |