Welcome to mirror list, hosted at ThFree Co, Russian Federation.

git.blender.org/blender.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorCampbell Barton <ideasman42@gmail.com>2014-08-29 09:35:19 +0400
committerCampbell Barton <ideasman42@gmail.com>2014-08-29 09:35:19 +0400
commit8a215669e8668b81610903a80a0c11e1cf64ccac (patch)
tree8f36c005b3d3327c46cea7240feb5a1437020fd4 /source/blender/editors/sculpt_paint/paint_image.c
parent1dddad93c45bb29e001afe21e24ae1f34aaa3e7f (diff)
Cleanup
Diffstat (limited to 'source/blender/editors/sculpt_paint/paint_image.c')
-rw-r--r--source/blender/editors/sculpt_paint/paint_image.c4
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;