diff options
author | Campbell Barton <ideasman42@gmail.com> | 2014-08-29 09:35:19 +0400 |
---|---|---|
committer | Campbell Barton <ideasman42@gmail.com> | 2014-08-29 09:35:19 +0400 |
commit | 8a215669e8668b81610903a80a0c11e1cf64ccac (patch) | |
tree | 8f36c005b3d3327c46cea7240feb5a1437020fd4 /source/blender/editors/sculpt_paint/paint_image.c | |
parent | 1dddad93c45bb29e001afe21e24ae1f34aaa3e7f (diff) |
Cleanup
Diffstat (limited to 'source/blender/editors/sculpt_paint/paint_image.c')
-rw-r--r-- | source/blender/editors/sculpt_paint/paint_image.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/source/blender/editors/sculpt_paint/paint_image.c b/source/blender/editors/sculpt_paint/paint_image.c index f0176bcd04d..0d65a28b802 100644 --- a/source/blender/editors/sculpt_paint/paint_image.c +++ b/source/blender/editors/sculpt_paint/paint_image.c @@ -1413,12 +1413,12 @@ void paint_proj_mesh_data_ensure(bContext *C, Object *ob, wmOperator *op) Material *ma = BKE_material_add(CTX_data_main(C), "Material"); /* no material found, just assign to first slot */ assign_material(ob, ma, i, BKE_MAT_ASSIGN_USERPREF); - proj_paint_add_slot(C, ma, NULL); + proj_paint_add_slot(C, ma, NULL); } } } } - else if (imapaint->mode == IMAGEPAINT_MODE_IMAGE){ + else if (imapaint->mode == IMAGEPAINT_MODE_IMAGE) { if (imapaint->canvas == NULL) { int width; int height; |