[Bf-blender-cvs] SVN commit: /data/svn/bf-blender [25674] trunk/blender/source/blender/ editors/gpencil/gpencil_buttons.c: grease pencil depth option ' Stroke Endpoints' works well when painting onto mesh surfaces as well as other grease pencil lines .

Campbell Barton ideasman42 at gmail.com
Sun Jan 3 00:56:14 CET 2010


Revision: 25674
          http://projects.blender.org/plugins/scmsvn/viewcvs.php?view=rev&root=bf-blender&revision=25674
Author:   campbellbarton
Date:     2010-01-03 00:56:14 +0100 (Sun, 03 Jan 2010)

Log Message:
-----------
grease pencil depth option 'Stroke Endpoints' works well when painting onto mesh surfaces as well as other grease pencil lines. change ui to show this.

Modified Paths:
--------------
    trunk/blender/source/blender/editors/gpencil/gpencil_buttons.c

Modified: trunk/blender/source/blender/editors/gpencil/gpencil_buttons.c
===================================================================
--- trunk/blender/source/blender/editors/gpencil/gpencil_buttons.c	2010-01-02 23:43:46 UTC (rev 25673)
+++ trunk/blender/source/blender/editors/gpencil/gpencil_buttons.c	2010-01-02 23:56:14 UTC (rev 25674)
@@ -268,7 +268,7 @@
 		uiItemEnumR_string(row, NULL, 0, &gpd_ptr, "draw_mode", "STROKE");
 
 		row= uiLayoutRow(col, 0);
-		uiLayoutSetActive(row, (gpd->flag & GP_DATA_DEPTH_STROKE) ? 1:0);
+		uiLayoutSetActive(row, (gpd->flag & (GP_DATA_DEPTH_STROKE|GP_DATA_DEPTH_VIEW)) ? 1:0);
 		uiItemR(row, NULL, 0, &gpd_ptr, "use_stroke_endpoints", 0);
 }	
 





More information about the Bf-blender-cvs mailing list