GPencil: Enable Layer Onion Skin by default
This commit is contained in:
parent
6f22a536e6
commit
ba740ad2ab
Notes:
blender-bot
2023-02-14 05:44:22 +01:00
Referenced by issue #87793, OptiX driver crashes when hiding/showing objects in rendered view
|
@ -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 */
|
||||
|
|
Loading…
Reference in New Issue