GPencil: Initialize Fill alpha to 1.0 by default for new materials

This commit is contained in:
Antonioya 2019-03-02 14:15:56 +01:00
parent ba7656ad25
commit de78ffca84
1 changed files with 1 additions and 0 deletions

View File

@ -112,6 +112,7 @@ void BKE_material_init_gpencil_settings(Material *ma)
MaterialGPencilStyle *gp_style = ma->gp_style;
/* set basic settings */
gp_style->stroke_rgba[3] = 1.0f;
gp_style->fill_rgba[3] = 1.0f;
gp_style->pattern_gridsize = 0.1f;
gp_style->gradient_radius = 0.5f;
ARRAY_SET_ITEMS(gp_style->mix_rgba, 1.0f, 1.0f, 1.0f, 0.2f);