GPencil: Initialize Fill alpha to 1.0 by default for new materials
This commit is contained in:
parent
ba7656ad25
commit
de78ffca84
|
@ -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);
|
||||
|
|
Loading…
Reference in New Issue