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-07-21 14:23:17 +0400
committerCampbell Barton <ideasman42@gmail.com>2014-07-21 14:23:17 +0400
commit256706ce7e88dfa4ec7f5ff215a03aea2aa5e71a (patch)
treefe00d6b4db3a3429f50b17f40becd56c2e831716 /source/blender/blenkernel/intern/paint.c
parentf745564e4ee791e4faf804b09ce975b882f4f8d9 (diff)
Cleanup
Diffstat (limited to 'source/blender/blenkernel/intern/paint.c')
-rw-r--r--source/blender/blenkernel/intern/paint.c4
1 files changed, 2 insertions, 2 deletions
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])