Fix missing "need eval data" for texpaint mode toggle op.
[blender.git] / source / blender / editors / sculpt_paint / paint_image.c
index f9b2e0bbb01fdffa6b132e14122e479f485bcf3a..86f7486d57d72b6af388a741fef006e2459038d5 100644 (file)
@@ -1166,7 +1166,7 @@ void PAINT_OT_texture_paint_toggle(wmOperatorType *ot)
        ot->poll = texture_paint_toggle_poll;
 
        /* flags */
-       ot->flag = OPTYPE_REGISTER | OPTYPE_UNDO;
+       ot->flag = OPTYPE_REGISTER | OPTYPE_UNDO | OPTYPE_USE_EVAL_DATA;
 }