From 256706ce7e88dfa4ec7f5ff215a03aea2aa5e71a Mon Sep 17 00:00:00 2001 From: Campbell Barton Date: Mon, 21 Jul 2014 20:23:17 +1000 Subject: Cleanup --- source/blender/blenkernel/intern/paint.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'source/blender/blenkernel/intern/paint.c') diff --git a/source/blender/blenkernel/intern/paint.c b/source/blender/blenkernel/intern/paint.c index 48211f2f627..4382d74f34e 100644 --- a/source/blender/blenkernel/intern/paint.c +++ b/source/blender/blenkernel/intern/paint.c @@ -354,7 +354,7 @@ void BKE_palette_color_delete(struct Palette *palette) { PaletteColor *color = BLI_findlink(&palette->colors, palette->active_color); - if(color) { + if (color) { if ((color == palette->colors.last) && (palette->colors.last != palette->colors.first)) palette->active_color--; @@ -481,7 +481,7 @@ float paint_grid_paint_mask(const GridPaintMask *gpm, unsigned level, return gpm->data[(y * factor) * gridsize + (x * factor)]; } -/* threshhold to move before updating the brush rotation */ +/* threshold to move before updating the brush rotation */ #define RAKE_THRESHHOLD 20 void paint_calculate_rake_rotation(UnifiedPaintSettings *ups, const float mouse_pos[2]) -- cgit v1.2.3