[Bf-blender-cvs] [d5df94c4ee2] tracking_tools: MCE: Always use mask preset for new vertex.

Sebastian Koenig noreply at git.blender.org
Mon Jul 19 11:36:20 CEST 2021


Commit: d5df94c4ee2478324aac40b3c5ad27e6e82ef984
Author: Sebastian Koenig
Date:   Mon Jul 19 09:33:35 2021 +0200
Branches: tracking_tools
https://developer.blender.org/rBd5df94c4ee2478324aac40b3c5ad27e6e82ef984

MCE: Always use mask preset for new vertex.

This is more a test, but this change makes it so that a new vertex uses
the mask tool setting for a new vertex. Not sure if this is the desired
behavior though, because before you could change the handle_type of the
active point and then every point extruded from it would use the new
handle_type.

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

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

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

diff --git a/source/blender/editors/mask/mask_add.c b/source/blender/editors/mask/mask_add.c
index 466bd7606cf..01678887656 100644
--- a/source/blender/editors/mask/mask_add.c
+++ b/source/blender/editors/mask/mask_add.c
@@ -59,6 +59,7 @@ static void setup_vertex_point(Mask *mask,
                                const bool reference_adjacent,
                                int handle_type)
 {
+  reference_point = NULL;
   const MaskSplinePoint *reference_parent_point = NULL;
   BezTriple *bezt;
   float co[3];



More information about the Bf-blender-cvs mailing list