diff options
author | Nicholas Bishop <nicholasbishop@gmail.com> | 2010-01-09 20:15:02 +0300 |
---|---|---|
committer | Nicholas Bishop <nicholasbishop@gmail.com> | 2010-01-09 20:15:02 +0300 |
commit | f125060ed5166ba7986283b690da949d1dca789b (patch) | |
tree | bab173bdcaa6a50147359f094753365102b5baf9 /source/blender/editors/sculpt_paint/paint_stroke.c | |
parent | 9ac2d072d12ecf22b9aa2d0f3fa06cb235bce512 (diff) |
== Sculpt ==
* Added a new property to sculpting, ignore_background_click. If this is on, clicks that don't hit the mesh are passed through, so you can set up the keymap to do ZBrush-like rotation with the tablet.
Diffstat (limited to 'source/blender/editors/sculpt_paint/paint_stroke.c')
-rw-r--r-- | source/blender/editors/sculpt_paint/paint_stroke.c | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/source/blender/editors/sculpt_paint/paint_stroke.c b/source/blender/editors/sculpt_paint/paint_stroke.c index e26b1945e7f..89c5443bf99 100644 --- a/source/blender/editors/sculpt_paint/paint_stroke.c +++ b/source/blender/editors/sculpt_paint/paint_stroke.c @@ -237,6 +237,11 @@ PaintStroke *paint_stroke_new(bContext *C, return stroke; } +void paint_stroke_free(PaintStroke *stroke) +{ + MEM_freeN(stroke); +} + int paint_stroke_modal(bContext *C, wmOperator *op, wmEvent *event) { PaintStroke *stroke = op->customdata; |