diff options
author | Antony Riakiotakis <kalast@gmail.com> | 2015-04-13 17:09:45 +0300 |
---|---|---|
committer | Antony Riakiotakis <kalast@gmail.com> | 2015-04-13 17:31:06 +0300 |
commit | f27e0b7c5e9d9ac1d80fc6b86d29ea96e971708d (patch) | |
tree | 1c9f6cedcb911cbad13038e4fd0c6a81cfe6cac8 /source | |
parent | 4ce437fff0374af7b38e1cf2b3ded4279da7f2e2 (diff) |
After user feedback:
* Allow ctrl click to do negative stroke in line strokes
* Use alt for angle constraints.
Diffstat (limited to 'source')
-rw-r--r-- | source/blender/editors/sculpt_paint/paint_stroke.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/source/blender/editors/sculpt_paint/paint_stroke.c b/source/blender/editors/sculpt_paint/paint_stroke.c index 5588d1e589e..f5a65be880e 100644 --- a/source/blender/editors/sculpt_paint/paint_stroke.c +++ b/source/blender/editors/sculpt_paint/paint_stroke.c @@ -673,7 +673,7 @@ PaintStroke *paint_stroke_new(bContext *C, if (stroke->stroke_mode == BRUSH_STROKE_INVERT) { - if (br->flag & (BRUSH_CURVE | BRUSH_LINE)) { + if (br->flag & (BRUSH_CURVE)) { RNA_enum_set(op->ptr, "mode", BRUSH_STROKE_NORMAL); } } @@ -1129,7 +1129,7 @@ int paint_stroke_modal(bContext *C, wmOperator *op, const wmEvent *event) return OPERATOR_FINISHED; } else if (br->flag & BRUSH_LINE) { - if (event->ctrl) + if (event->alt) stroke->constrain_line = true; else stroke->constrain_line = false; |