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:
authorNicholas Bishop <nicholasbishop@gmail.com>2010-07-26 02:23:40 +0400
committerNicholas Bishop <nicholasbishop@gmail.com>2010-07-26 02:23:40 +0400
commitcc061d075f4368f7a8d380becb0688bbea14832a (patch)
treed0e0255b36c4cbf7b1e5ec418b1a274d9c5caa55 /source/blender/blenkernel/intern/brush.c
parentba30ac1230c400a0aab0515cd4d39c546f90c96a (diff)
== Sculpt ==
More icon work * Added icon defines for all the brushes * Load all the brush icons after loading regular Blender icons * Added the brush icons to their respective tool enums in RNA * Fixed a couple unused-variable warnings
Diffstat (limited to 'source/blender/blenkernel/intern/brush.c')
-rw-r--r--source/blender/blenkernel/intern/brush.c1
1 files changed, 0 insertions, 1 deletions
diff --git a/source/blender/blenkernel/intern/brush.c b/source/blender/blenkernel/intern/brush.c
index 23a221cadf4..a032f7ecca6 100644
--- a/source/blender/blenkernel/intern/brush.c
+++ b/source/blender/blenkernel/intern/brush.c
@@ -862,7 +862,6 @@ int brush_painter_paint(BrushPainter *painter, BrushFunc func, float *pos, doubl
float startdistance, spacing, step, paintpos[2], dmousepos[2], finalpos[2];
float t, len, press;
const int radius= brush_size(brush);
- const int diameter= 2*radius;
/* compute brush spacing adapted to brush radius, spacing may depend
on pressure, so update it */