svn merge -r41779:41847 ^/trunk/blender
[blender.git] / source / blender / editors / object / object_bake.c
index 4ce7b88..68a58ae 100644 (file)
@@ -1033,8 +1033,7 @@ static DerivedMesh *multiresbake_create_loresdm(Scene *scene, Object *ob, int *l
        MultiresModifierData *mmd= get_multires_modifier(scene, ob, 0);
        Mesh *me= (Mesh*)ob->data;
 
-       if(ob->mode==OB_MODE_SCULPT) *lvl= mmd->sculptlvl;
-       else *lvl= mmd->lvl;
+       *lvl= mmd->lvl;
 
        if(*lvl==0) {
                DerivedMesh *tmp_dm= CDDM_from_mesh(me, ob);