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>2013-10-16 08:08:20 +0400
committerCampbell Barton <ideasman42@gmail.com>2013-10-16 08:08:20 +0400
commitecf2eeef231ea5b615232070209af308257d9bfb (patch)
treea011fa0dc3d49f16540acd80a5aadcf8b12764b4 /source/blender/editors/sculpt_paint
parent859dfccb589a099e0b3032b52c3b528f5e1f2568 (diff)
style cleanup
Diffstat (limited to 'source/blender/editors/sculpt_paint')
-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 f3f12464528..9e8a8fd3ecc 100644
--- a/source/blender/editors/sculpt_paint/paint_image.c
+++ b/source/blender/editors/sculpt_paint/paint_image.c
@@ -949,7 +949,7 @@ static int sample_color_exec(bContext *C, wmOperator *op)
RNA_int_get_array(op->ptr, "location", location);
paint_sample_color(C, ar, location[0], location[1]);
- if(show_cursor) {
+ if (show_cursor) {
paint->flags |= PAINT_SHOW_BRUSH;
}
@@ -989,7 +989,7 @@ static int sample_color_modal(bContext *C, wmOperator *op, const wmEvent *event)
Brush *brush = BKE_paint_brush(paint);
if ((event->type == data->event_type) && (event->val == KM_RELEASE)) {
- if(data->show_cursor) {
+ if (data->show_cursor) {
paint->flags |= PAINT_SHOW_BRUSH;
}