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-10-06 23:49:38 +0400
committerCampbell Barton <ideasman42@gmail.com>2014-10-07 01:19:07 +0400
commitcc02f929f9714b1661fa0b8e2ffedc1d23dd6fd6 (patch)
tree25b402a6c3972467d84133bebb403163972b9891 /source/blender/editors/sculpt_paint
parent15d2ab681230c7c3f52c4208bf493a2ea78a5e5e (diff)
Cleanup: style
Diffstat (limited to 'source/blender/editors/sculpt_paint')
-rw-r--r--source/blender/editors/sculpt_paint/paint_image_proj.c9
1 files changed, 6 insertions, 3 deletions
diff --git a/source/blender/editors/sculpt_paint/paint_image_proj.c b/source/blender/editors/sculpt_paint/paint_image_proj.c
index 352e633218a..f9124db7a5e 100644
--- a/source/blender/editors/sculpt_paint/paint_image_proj.c
+++ b/source/blender/editors/sculpt_paint/paint_image_proj.c
@@ -5096,7 +5096,7 @@ static bool proj_paint_add_slot(bContext *C, wmOperator *op)
DAG_id_tag_update(&ma->id, 0);
ED_area_tag_redraw(CTX_wm_area(C));
- return true;
+ return true;
}
}
@@ -5105,9 +5105,12 @@ static bool proj_paint_add_slot(bContext *C, wmOperator *op)
static int texture_paint_add_texture_paint_slot_exec(bContext *C, wmOperator *op)
{
- if(proj_paint_add_slot(C, op))
+ if (proj_paint_add_slot(C, op)) {
return OPERATOR_FINISHED;
- else return OPERATOR_CANCELLED;
+ }
+ else {
+ return OPERATOR_CANCELLED;
+ }
}