== Sculpt ==
[blender.git] / source / blender / src / editobject.c
index 163417d9f08214c586719b2ebf4942649790ffe6..354d99095f88998be5d42bcf81b7f630277cf782 100644 (file)
@@ -1621,7 +1621,7 @@ void enter_editmode(int wc)
        if(ob->type==OB_MESH) {
                me= get_mesh(ob);
                if( me==0 ) return;
-               if(me->pv) sculptmode_pmv_off(me);
+               if(me->pv) mesh_pmv_off(ob, me);
                ok= 1;
                G.obedit= ob;
                make_editMesh();