diff options
Diffstat (limited to 'source/blender/editors/sculpt_paint/paint_image.c')
-rw-r--r-- | source/blender/editors/sculpt_paint/paint_image.c | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/source/blender/editors/sculpt_paint/paint_image.c b/source/blender/editors/sculpt_paint/paint_image.c index 92ef8ae8fd1..929f854242f 100644 --- a/source/blender/editors/sculpt_paint/paint_image.c +++ b/source/blender/editors/sculpt_paint/paint_image.c @@ -5254,6 +5254,5 @@ void PAINT_OT_texture_paint_radial_control(wmOperatorType *ot) int facemask_paint_poll(bContext *C) { - Object *obact = CTX_data_active_object(C); - return paint_facesel_test(obact); + return paint_facesel_test(CTX_data_active_object(C)); } |