diff options
author | Campbell Barton <ideasman42@gmail.com> | 2017-10-16 05:01:09 +0300 |
---|---|---|
committer | Campbell Barton <ideasman42@gmail.com> | 2017-10-16 06:27:10 +0300 |
commit | cae97709549224a94ec71a4de5f159af1d876f0a (patch) | |
tree | 75a8f59afc38205918e010386e684148b9e29e27 /source/blender/editors | |
parent | 811dbf55253bf3db9065710c6998d943ef7d169d (diff) |
Cleanup: rename gesture mode to is_active
Wasn't obvious what this did at a glance.
Diffstat (limited to 'source/blender/editors')
-rw-r--r-- | source/blender/editors/sculpt_paint/paint_vertex_weight_ops.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/source/blender/editors/sculpt_paint/paint_vertex_weight_ops.c b/source/blender/editors/sculpt_paint/paint_vertex_weight_ops.c index 9483a12aa6a..3af1da3edce 100644 --- a/source/blender/editors/sculpt_paint/paint_vertex_weight_ops.c +++ b/source/blender/editors/sculpt_paint/paint_vertex_weight_ops.c @@ -817,7 +817,7 @@ static int paint_weight_gradient_invoke(bContext *C, wmOperator *op, const wmEve /* TODO, hardcoded, extend WM_gesture_straightline_ */ if (event->type == LEFTMOUSE && event->val == KM_PRESS) { wmGesture *gesture = op->customdata; - gesture->mode = 1; + gesture->is_active = true; } } } |