Welcome to mirror list, hosted at ThFree Co, Russian Federation.

git.blender.org/blender.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSergey Sharybin <sergey.vfx@gmail.com>2014-01-13 14:29:07 +0400
committerSergey Sharybin <sergey.vfx@gmail.com>2014-01-13 14:29:07 +0400
commita8b3abc7fc48c66573c593578c47688d98c1a21a (patch)
treeefe6716a016ff91e8832fa6b28b47e960f7c59aa /source/blender/editors/space_view3d
parentd01bb0b8b6653f9a9e36c5d992f80d20405ee715 (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.c3
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) {