- removed makeDispList, set_displist_onlyzero
[blender.git] / source / blender / blenkernel / intern / DerivedMesh.c
index 6f2ddc8c7837f470fe17f51470fcd3c233eae081..236d21bd71040c8231c41e8d9593885111177338 100644 (file)
@@ -846,15 +846,6 @@ static void build_mesh_data(Object *ob, int inEditMode)
 {
        Mesh *me = ob->data;
 
-               /* Inside edit mode mesh modifiers aren't calculated */
-       if(ob->disp.first==NULL && !inEditMode) { 
-               if (    (ob->parent && (ob->partype==PARSKEL || ob->parent->type==OB_LATTICE)) ||
-                               ob->hooks.first ||
-                               (ob->softflag & OB_SB_ENABLE) ||
-                               (ob->effect.first && ((Effect*) ob->effect.first)->type==EFF_WAVE))
-                       makeDispListMesh(ob);
-       }
-
        if ((me->flag&ME_SUBSURF) && me->subdiv) {
                if(inEditMode && !G.editMesh->derived) {
                        makeDispListMesh(ob);
@@ -894,7 +885,7 @@ DerivedMesh *mesh_get_derived_render(Object *ob, int *needsFree)
                        *needsFree = 0;
 
                                // Don't reuse cache in editmode, we need to guarantee
-                               // order of result and the incremental syncing messes
+                               // index order of result and the incremental syncing messes
                                // with this (could be fixed). - zr
                        if(!(G.obedit && me==G.obedit->data)) {
                                return me->derived;