diff options
author | Sergey Sharybin <sergey.vfx@gmail.com> | 2014-03-31 12:59:53 +0400 |
---|---|---|
committer | Sergey Sharybin <sergey.vfx@gmail.com> | 2014-03-31 13:00:40 +0400 |
commit | 851805d84e9d77108f6be6cc1bd35c6c6441068d (patch) | |
tree | eda84dba548556d7ec533950490dc1e0a7f7bbd7 /source | |
parent | f06a1b77e291c595f3928d952cc9f18c04df3ae2 (diff) |
Masking: fix for initialdeather point not being offset to the mouse position
Diffstat (limited to 'source')
-rw-r--r-- | source/blender/editors/mask/mask_ops.c | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/source/blender/editors/mask/mask_ops.c b/source/blender/editors/mask/mask_ops.c index d170d009af6..10bcfae7b00 100644 --- a/source/blender/editors/mask/mask_ops.c +++ b/source/blender/editors/mask/mask_ops.c @@ -929,6 +929,10 @@ static int slide_point_modal(bContext *C, wmOperator *op, const wmEvent *event) data->orig_spline = BKE_mask_spline_copy(data->spline); } + if (data->initial_feather) { + *weight = w * weight_scalar; + } + slide_point_delta_all_feather(data, delta); } else { |