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.

This commit is contained in:
Campbell Barton 2010-01-02 23:56:14 +00:00
parent d8d11c55d9
commit 9cb975bd9b

@ -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);
}