[Bf-blender-cvs] [b4ece07eef2] greasepencil-object: Hide VIEW option for stroke placement

Antonio Vazquez noreply at git.blender.org
Mon Jun 12 12:27:20 CEST 2017


Commit: b4ece07eef21c9384d5a86ded0394bbb4a132694
Author: Antonio Vazquez
Date:   Mon Jun 12 12:27:11 2017 +0200
Branches: greasepencil-object
https://developer.blender.org/rBb4ece07eef21c9384d5a86ded0394bbb4a132694

Hide VIEW option for stroke placement

This option is not logic in the new environment. Keep line for future uses

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

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 005f1b0295f..b51e42d3d05 100644
--- a/source/blender/makesrna/intern/rna_scene.c
+++ b/source/blender/makesrna/intern/rna_scene.c
@@ -3484,7 +3484,7 @@ static void rna_def_tool_settings(BlenderRNA  *brna)
 	
 	static EnumPropertyItem gpencil_stroke_placement_items[] = {
 		{GP_PROJECT_VIEWSPACE, "CURSOR", ICON_CURSOR, "Origin", "Draw stroke at the Object origin or 3D cursor"},
-		{0, "VIEW", ICON_VISIBLE_IPO_ON, "View", "Stick stroke to the view "}, /* weird, GP_PROJECT_VIEWALIGN is inverted */
+		// {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"},
 		{0, NULL, 0, NULL, NULL}




More information about the Bf-blender-cvs mailing list