Fix T46471: Sculpt strokes doesn't mark file as modified
[blender.git] / source / blender / editors / sculpt_paint / paint_hide.c
index 2f1d4cd4194814a63f4781d7f9b37068802b884e..5af6792f10f574f45fdf3d3e18132eb81c035337 100644 (file)
@@ -417,7 +417,7 @@ static int hide_show_exec(bContext *C, wmOperator *op)
                MEM_freeN(nodes);
        
        /* end undo */
-       sculpt_undo_push_end();
+       sculpt_undo_push_end(C);
 
        /* ensure that edges and faces get hidden as well (not used by
         * sculpt but it looks wrong when entering editmode otherwise) */