[Bf-blender-cvs] SVN commit: /data/svn/bf-blender [36223] trunk/blender/source/blender: Whitespace/typos
Joshua Leung
aligorith at gmail.com
Tue Apr 19 15:02:49 CEST 2011
Revision: 36223
http://projects.blender.org/scm/viewvc.php?view=rev&root=bf-blender&revision=36223
Author: aligorith
Date: 2011-04-19 13:02:49 +0000 (Tue, 19 Apr 2011)
Log Message:
-----------
Whitespace/typos
Modified Paths:
--------------
trunk/blender/source/blender/editors/gpencil/gpencil_buttons.c
trunk/blender/source/blender/makesrna/intern/rna_gpencil.c
Modified: trunk/blender/source/blender/editors/gpencil/gpencil_buttons.c
===================================================================
--- trunk/blender/source/blender/editors/gpencil/gpencil_buttons.c 2011-04-19 13:01:50 UTC (rev 36222)
+++ trunk/blender/source/blender/editors/gpencil/gpencil_buttons.c 2011-04-19 13:02:49 UTC (rev 36223)
@@ -219,9 +219,11 @@
subcol= uiLayoutColumn(col, 1);
uiItemR(subcol, &ptr, "use_onion_skinning", 0, "Onion Skinning", ICON_NONE);
uiItemR(subcol, &ptr, "ghost_range_max", 0, "Frames", ICON_NONE); // XXX shorter name here? i.e. GStep
-
- if(is_v3d) {
- uiItemR(subcol, &ptr, "show_x_ray", 0, "X-Ray", ICON_NONE);
+
+ /* 3d-view specific drawing options */
+ if (is_v3d) {
+ subcol= uiLayoutColumn(col, 0);
+ uiItemR(subcol, &ptr, "show_x_ray", 0, "X-Ray", ICON_NONE);
}
}
Modified: trunk/blender/source/blender/makesrna/intern/rna_gpencil.c
===================================================================
--- trunk/blender/source/blender/makesrna/intern/rna_gpencil.c 2011-04-19 13:01:50 UTC (rev 36222)
+++ trunk/blender/source/blender/makesrna/intern/rna_gpencil.c 2011-04-19 13:02:49 UTC (rev 36223)
@@ -309,7 +309,7 @@
static EnumPropertyItem draw_mode_items[] = {
{GP_DATA_VIEWALIGN, "CURSOR", 0, "Cursor", "Draw stroke at the 3D cursor"},
- {0, "VIEW", 0, "View", "Stick stroke to the view "}, /* weired, GP_DATA_VIEWALIGN is inverted */
+ {0, "VIEW", 0, "View", "Stick stroke to the view "}, /* weird, GP_DATA_VIEWALIGN is inverted */
{GP_DATA_VIEWALIGN|GP_DATA_DEPTH_VIEW, "SURFACE", 0, "Surface", "Stick stroke to surfaces"},
{GP_DATA_VIEWALIGN|GP_DATA_DEPTH_STROKE, "STROKE", 0, "Stroke", "Stick stroke to other strokes"},
{0, NULL, 0, NULL, NULL}};
More information about the Bf-blender-cvs
mailing list