diff options
author | Campbell Barton <ideasman42@gmail.com> | 2010-01-03 02:56:14 +0300 |
---|---|---|
committer | Campbell Barton <ideasman42@gmail.com> | 2010-01-03 02:56:14 +0300 |
commit | 9cb975bd9b945da3f325d749634b3829c406f9f6 (patch) | |
tree | c7dd417845652250ca1f2c747026cb2d9a49716a /source/blender | |
parent | d8d11c55d9ebdedb72ea2c2bfb5038e612529157 (diff) |
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.
Diffstat (limited to 'source/blender')
-rw-r--r-- | source/blender/editors/gpencil/gpencil_buttons.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/source/blender/editors/gpencil/gpencil_buttons.c b/source/blender/editors/gpencil/gpencil_buttons.c index e93788bc495..a63573b5381 100644 --- a/source/blender/editors/gpencil/gpencil_buttons.c +++ b/source/blender/editors/gpencil/gpencil_buttons.c @@ -268,7 +268,7 @@ static void draw_gpencil_panel (bContext *C, uiLayout *layout, bGPdata *gpd, Poi 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); } |