diff options
author | Antonioya <blendergit@gmail.com> | 2019-03-02 16:15:56 +0300 |
---|---|---|
committer | Antonioya <blendergit@gmail.com> | 2019-03-02 16:15:56 +0300 |
commit | de78ffca844f7aa02d7a10059226c0db0293a159 (patch) | |
tree | 4a4ee61be4b1db050277c290b2743d095bc476a7 /source/blender | |
parent | ba7656ad251b838005f70dea2d3bb39f97fb39a2 (diff) |
GPencil: Initialize Fill alpha to 1.0 by default for new materials
Diffstat (limited to 'source/blender')
-rw-r--r-- | source/blender/blenkernel/intern/material.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/source/blender/blenkernel/intern/material.c b/source/blender/blenkernel/intern/material.c index 138a6426b39..89e6fb073ad 100644 --- a/source/blender/blenkernel/intern/material.c +++ b/source/blender/blenkernel/intern/material.c @@ -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); |