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-01-09 20:15:02 +0300
committerNicholas Bishop <nicholasbishop@gmail.com>2010-01-09 20:15:02 +0300
commitf125060ed5166ba7986283b690da949d1dca789b (patch)
treebab173bdcaa6a50147359f094753365102b5baf9 /source/blender/editors/sculpt_paint/paint_stroke.c
parent9ac2d072d12ecf22b9aa2d0f3fa06cb235bce512 (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.c5
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;