GP: Remove annotation stroke mode
authorAntonioya <blendergit@gmail.com>
Mon, 10 Sep 2018 14:06:05 +0000 (16:06 +0200)
committerAntonioya <blendergit@gmail.com>
Mon, 10 Sep 2018 14:08:55 +0000 (16:08 +0200)
This option has not been working since a lot of time and it looks is unused. When we confirm is not used, we can remove it completely.

source/blender/makesrna/intern/rna_scene.c

index e451c87aa3a92212ba3cc635a99f951c1a8aeef9..9c2bd93df893200718709c63b4809e043c9c6a4b 100644 (file)
@@ -2162,7 +2162,9 @@ static void rna_def_tool_settings(BlenderRNA  *brna)
                {GP_PROJECT_VIEWSPACE | GP_PROJECT_CURSOR, "CURSOR", ICON_CURSOR, "3D Cursor", "Draw stroke at 3D cursor location" },
                {0, "VIEW", ICON_VISIBLE_IPO_ON, "View", "Stick stroke to the view "}, /* weird, GP_PROJECT_VIEWALIGN is inverted */
                {GP_PROJECT_VIEWSPACE | GP_PROJECT_DEPTH_VIEW, "SURFACE", ICON_FACESEL, "Surface", "Stick stroke to surfaces"},
-               {GP_PROJECT_VIEWSPACE | GP_PROJECT_DEPTH_STROKE, "STROKE", ICON_GREASEPENCIL, "Stroke", "Stick stroke to other strokes"},
+               /* Stroke option is disabled because is not working as expected and maybe is not
+                * required. If we confirm this is not used, we can remove it. */
+               //{GP_PROJECT_VIEWSPACE | GP_PROJECT_DEPTH_STROKE, "STROKE", ICON_GREASEPENCIL, "Stroke", "Stick stroke to other strokes"},
                {0, NULL, 0, NULL, NULL}
        };