Welcome to mirror list, hosted at ThFree Co, Russian Federation.

git.blender.org/blender.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorCampbell Barton <ideasman42@gmail.com>2010-01-03 02:56:14 +0300
committerCampbell Barton <ideasman42@gmail.com>2010-01-03 02:56:14 +0300
commit9cb975bd9b945da3f325d749634b3829c406f9f6 (patch)
treec7dd417845652250ca1f2c747026cb2d9a49716a /source/blender/editors/gpencil/gpencil_buttons.c
parentd8d11c55d9ebdedb72ea2c2bfb5038e612529157 (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/editors/gpencil/gpencil_buttons.c')
-rw-r--r--source/blender/editors/gpencil/gpencil_buttons.c2
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);
}