diff options
author | Joshua Leung <aligorith@gmail.com> | 2011-04-19 17:02:49 +0400 |
---|---|---|
committer | Joshua Leung <aligorith@gmail.com> | 2011-04-19 17:02:49 +0400 |
commit | aa00bbe484f832f5001883f24fa5dee262baa888 (patch) | |
tree | aa03eda39a754678549ad2429a8b40b2d42fdb81 /source/blender/editors/gpencil | |
parent | 94b99b5d4a7c20cf2f4488b599e74619a7c860a6 (diff) |
Whitespace/typos
Diffstat (limited to 'source/blender/editors/gpencil')
-rw-r--r-- | source/blender/editors/gpencil/gpencil_buttons.c | 8 |
1 files changed, 5 insertions, 3 deletions
diff --git a/source/blender/editors/gpencil/gpencil_buttons.c b/source/blender/editors/gpencil/gpencil_buttons.c index 79fcbb0e49d..d95f64c31e1 100644 --- a/source/blender/editors/gpencil/gpencil_buttons.c +++ b/source/blender/editors/gpencil/gpencil_buttons.c @@ -219,9 +219,11 @@ static void gp_drawui_layer (uiLayout *layout, bGPdata *gpd, bGPDlayer *gpl, con 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); } } |