diff options
author | Antonio Vazquez <blendergit@gmail.com> | 2020-12-07 00:27:20 +0300 |
---|---|---|
committer | Antonio Vazquez <blendergit@gmail.com> | 2020-12-07 00:27:28 +0300 |
commit | ba740ad2abc678b7832159033215ce27f1e94ac3 (patch) | |
tree | 1719f5b757f0726637dc828f06d7a001c9fe1d92 /source/blender/blenkernel | |
parent | 6f22a536e690133f7b7f9e62e6affd58d5ee2b6c (diff) |
GPencil: Enable Layer Onion Skin by default
Diffstat (limited to 'source/blender/blenkernel')
-rw-r--r-- | source/blender/blenkernel/intern/gpencil.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/source/blender/blenkernel/intern/gpencil.c b/source/blender/blenkernel/intern/gpencil.c index 98e83bfb789..f68a390db64 100644 --- a/source/blender/blenkernel/intern/gpencil.c +++ b/source/blender/blenkernel/intern/gpencil.c @@ -671,6 +671,8 @@ bGPDlayer *BKE_gpencil_layer_addnew(bGPdata *gpd, const char *name, bool setacti ARRAY_SET_ITEMS(gpl->color, 0.2f, 0.2f, 0.2f); /* Default vertex mix. */ gpl->vertex_paint_opacity = 1.0f; + /* Enable onion skin. */ + gpl->onion_flag |= GP_LAYER_ONIONSKIN; } /* auto-name */ |