diff options
author | Nicholas Bishop <nicholasbishop@gmail.com> | 2009-08-17 20:08:09 +0400 |
---|---|---|
committer | Nicholas Bishop <nicholasbishop@gmail.com> | 2009-08-17 20:08:09 +0400 |
commit | 2a9e6b72373af872cbcff06b80d1c3b4fd59952c (patch) | |
tree | ebcdadb806a820679abb33ed157b4f46b109eb47 /source/blender/blenkernel | |
parent | 21ca9a6049b7e0948752f06a952d9e13a2966117 (diff) |
2.5/Sculpt:
* Hopefully fixed the tablet pressure in sculpt mode? Can't test because Blender isn't seeing my tablet.
Diffstat (limited to 'source/blender/blenkernel')
-rw-r--r-- | source/blender/blenkernel/intern/paint.c | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/source/blender/blenkernel/intern/paint.c b/source/blender/blenkernel/intern/paint.c index 54192afb904..80016f23d7c 100644 --- a/source/blender/blenkernel/intern/paint.c +++ b/source/blender/blenkernel/intern/paint.c @@ -87,8 +87,10 @@ void paint_brush_set(Paint *p, Brush *br) } - if(!found) + if(!found) { paint_brush_slot_add(p); + id_us_plus(&br->id); + } /* Make sure the current slot is the new brush */ p->brushes[p->active_brush_index] = br; |