Undo System: remove accumulate/store modes
[blender.git] / source / blender / editors / sculpt_paint / paint_image_proj.c
index 182a09125336275aa040e8cca34a1de87d98755e..bb9391a052c145d6086f78f861599e11630e48e9 100644 (file)
@@ -5546,7 +5546,7 @@ static int texture_paint_camera_project_exec(bContext *C, wmOperator *op)
 
        scene->toolsettings->imapaint.flag |= IMAGEPAINT_DRAWING;
 
-       ED_image_undo_push_begin(op->type->name);
+       ED_image_undo_push_begin(op->type->name, PAINT_MODE_TEXTURE_3D);
 
        /* allocate and initialize spatial data structures */
        project_paint_begin(C, &ps, false, 0);