[Bf-blender-cvs] [851805d] master: Masking: fix for initialdeather point not being offset to the mouse position

Sergey Sharybin noreply at git.blender.org
Mon Mar 31 11:00:54 CEST 2014


Commit: 851805d84e9d77108f6be6cc1bd35c6c6441068d
Author: Sergey Sharybin
Date:   Mon Mar 31 14:59:53 2014 +0600
https://developer.blender.org/rB851805d84e9d77108f6be6cc1bd35c6c6441068d

Masking: fix for initialdeather point not being offset to the mouse position

===================================================================

M	source/blender/editors/mask/mask_ops.c

===================================================================

diff --git a/source/blender/editors/mask/mask_ops.c b/source/blender/editors/mask/mask_ops.c
index d170d00..10bcfae 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 {




More information about the Bf-blender-cvs mailing list