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:
authorSergey Sharybin <sergey.vfx@gmail.com>2014-03-31 12:59:53 +0400
committerSergey Sharybin <sergey.vfx@gmail.com>2014-03-31 13:00:40 +0400
commit851805d84e9d77108f6be6cc1bd35c6c6441068d (patch)
treeeda84dba548556d7ec533950490dc1e0a7f7bbd7 /source/blender/editors/mask
parentf06a1b77e291c595f3928d952cc9f18c04df3ae2 (diff)
Masking: fix for initialdeather point not being offset to the mouse position
Diffstat (limited to 'source/blender/editors/mask')
-rw-r--r--source/blender/editors/mask/mask_ops.c4
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 {