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-05-14 10:58:35 +0400
committerCampbell Barton <ideasman42@gmail.com>2013-05-14 10:58:35 +0400
commitcfbf9c324b273a4c45aaa7ebc2dca5bdddaa3aa6 (patch)
tree069db7df2f0ee7087dda5939f4832b081e6c8945 /source/blender/editors
parent5888830acbf9d5bd2d7bd317928366d45371c507 (diff)
style cleanup
Diffstat (limited to 'source/blender/editors')
-rw-r--r--source/blender/editors/screen/area.c2
-rw-r--r--source/blender/editors/sculpt_paint/paint_image_2d.c4
2 files changed, 3 insertions, 3 deletions
diff --git a/source/blender/editors/screen/area.c b/source/blender/editors/screen/area.c
index 3009cd0e758..1a4e0361018 100644
--- a/source/blender/editors/screen/area.c
+++ b/source/blender/editors/screen/area.c
@@ -459,7 +459,7 @@ void ED_region_do_draw(bContext *C, ARegion *ar)
glEnable(GL_BLEND);
glColor4f(drand48(), drand48(), drand48(), 0.1f);
glRectf(ar->drawrct.xmin - ar->winrct.xmin, ar->drawrct.ymin - ar->winrct.ymin,
- ar->drawrct.xmax - ar->winrct.xmin, ar->drawrct.ymax - ar->winrct.ymin);
+ ar->drawrct.xmax - ar->winrct.xmin, ar->drawrct.ymax - ar->winrct.ymin);
glDisable(GL_BLEND);
#endif
diff --git a/source/blender/editors/sculpt_paint/paint_image_2d.c b/source/blender/editors/sculpt_paint/paint_image_2d.c
index 55dd96eff36..48a23641bdb 100644
--- a/source/blender/editors/sculpt_paint/paint_image_2d.c
+++ b/source/blender/editors/sculpt_paint/paint_image_2d.c
@@ -224,7 +224,7 @@ static unsigned short *brush_painter_mask_new(BrushPainter *painter, int size)
unsigned short *mask, *m;
int x, y;
- mask = MEM_callocN(sizeof(unsigned short)*size*size, "brush_painter_mask");
+ mask = MEM_callocN(sizeof(unsigned short) * size * size, "brush_painter_mask");
m = mask;
for (y = 0; y < size; y++) {
@@ -602,7 +602,7 @@ static void brush_painter_2d_refresh_cache(ImagePaintState *s, BrushPainter *pai
do_partial_update = true;
brush_painter_2d_tex_mapping(s, size, painter->startpaintpos,
- pos, brush->mask_mtex.brush_map_mode, &painter->mask_mapping);
+ pos, brush->mask_mtex.brush_map_mode, &painter->mask_mapping);
}
if (do_view || do_random)