diff options
author | Nicholas Bishop <nicholasbishop@gmail.com> | 2010-07-27 20:09:02 +0400 |
---|---|---|
committer | Nicholas Bishop <nicholasbishop@gmail.com> | 2010-07-27 20:09:02 +0400 |
commit | 88dcfbaee9be4a08104efc2f4edd20dd8e7957fe (patch) | |
tree | 22670033fd0118e29e4293911ac231b34b784321 /source/blender/blenkernel/BKE_brush.h | |
parent | 78e5a299900233aa8779f87947edb9f37f9336bf (diff) |
== Sculpt ==
Added a brush reset operator so that a user won't need to reload the default blend to get back default brush settings
* New brush.reset operator, resets a brush based on the currently-selected tool
* Added UI button in the tools panel
TODO:
* Only resets sculpt brushes right now, other paint modes should be added
* Sculpt polish tool exists only as a Brush, not as a tool; I'd suggest we make it a tool so it can be reset to defaults too
Diffstat (limited to 'source/blender/blenkernel/BKE_brush.h')
-rw-r--r-- | source/blender/blenkernel/BKE_brush.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/source/blender/blenkernel/BKE_brush.h b/source/blender/blenkernel/BKE_brush.h index 3ad902c41fe..3afcfddfea3 100644 --- a/source/blender/blenkernel/BKE_brush.h +++ b/source/blender/blenkernel/BKE_brush.h @@ -44,6 +44,8 @@ struct Brush *copy_brush(struct Brush *brush); void make_local_brush(struct Brush *brush); void free_brush(struct Brush *brush); +void brush_reset_sculpt(struct Brush *brush); + /* image icon function */ struct ImBuf *get_brush_icon(struct Brush *brush); |