[Bf-blender-cvs] [524943fca3d] master: Fix T65750: Masking crash with Add Feather Vertex and Slide

Sergey Sharybin noreply at git.blender.org
Wed Jun 12 12:47:39 CEST 2019


Commit: 524943fca3db7180f2afac704e0ac4b6d5bd6755
Author: Sergey Sharybin
Date:   Wed Jun 12 12:47:01 2019 +0200
Branches: master
https://developer.blender.org/rB524943fca3db7180f2afac704e0ac4b6d5bd6755

Fix T65750: Masking crash with Add Feather Vertex and Slide

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

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 5a7a84dbbc8..a205f6878e3 100644
--- a/source/blender/editors/mask/mask_ops.c
+++ b/source/blender/editors/mask/mask_ops.c
@@ -288,7 +288,7 @@ bool ED_mask_feather_find_nearest(const bContext *C,
               uw = NULL;
             }
             else {
-              uw = &cur_point_eval->uw[j - 1];
+              uw = &cur_point_orig->uw[j - 1];
             }
 
             point_masklay = masklay_orig;



More information about the Bf-blender-cvs mailing list