[Bf-blender-cvs] [5e89d1d96c4] blender2.8: GP: Remove annotation stroke mode

Antonioya noreply at git.blender.org
Mon Sep 10 16:09:05 CEST 2018


Commit: 5e89d1d96c4825d2d22b2de9423ad8fadfd69136
Author: Antonioya
Date:   Mon Sep 10 16:06:05 2018 +0200
Branches: blender2.8
https://developer.blender.org/rB5e89d1d96c4825d2d22b2de9423ad8fadfd69136

GP: Remove annotation stroke mode

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.

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

M	source/blender/makesrna/intern/rna_scene.c

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

diff --git a/source/blender/makesrna/intern/rna_scene.c b/source/blender/makesrna/intern/rna_scene.c
index e451c87aa3a..9c2bd93df89 100644
--- a/source/blender/makesrna/intern/rna_scene.c
+++ b/source/blender/makesrna/intern/rna_scene.c
@@ -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}
 	};



More information about the Bf-blender-cvs mailing list