diff options
author | Antony Riakiotakis <kalast@gmail.com> | 2015-04-04 23:38:31 +0300 |
---|---|---|
committer | Antony Riakiotakis <kalast@gmail.com> | 2015-04-04 23:39:25 +0300 |
commit | 8eac4085be42f01d09843e918936a01d3615d518 (patch) | |
tree | 738e61f1c292268fa805f5c9419982a89d5b8685 /source | |
parent | 1604a26fe648ba712cf2cbead2a96dbd0dab817c (diff) |
Fix T44264 copy paste error, checking same condition twice.
Diffstat (limited to 'source')
-rw-r--r-- | source/blender/editors/sculpt_paint/paint_image.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/source/blender/editors/sculpt_paint/paint_image.c b/source/blender/editors/sculpt_paint/paint_image.c index 5cfbd164153..097ffe3523b 100644 --- a/source/blender/editors/sculpt_paint/paint_image.c +++ b/source/blender/editors/sculpt_paint/paint_image.c @@ -1393,7 +1393,7 @@ static int texture_paint_toggle_exec(bContext *C, wmOperator *op) if (ma && ma->texpaintslot) ima = ma->texpaintslot[ma->paint_active_slot].ima; } - else if (imapaint->mode == IMAGEPAINT_MODE_MATERIAL) { + else if (imapaint->mode == IMAGEPAINT_MODE_IMAGE) { ima = imapaint->canvas; } |