Be sure Annotations use default color and thickness
Depending of the last tool used, the Note layer was created when draw but it was using the wrong color and thickness.
This commit is contained in:
@@ -1185,6 +1185,8 @@ static void gp_paint_initstroke(tGPsdata *p, eGPencil_PaintModes paintmode, Deps
|
||||
/* get active layer (or add a new one if non-existent) */
|
||||
p->gpl = BKE_gpencil_layer_getactive(p->gpd);
|
||||
if (p->gpl == NULL) {
|
||||
/* tag for annotations */
|
||||
p->gpd->flag |= GP_DATA_ANNOTATIONS;
|
||||
p->gpl = BKE_gpencil_layer_addnew(p->gpd, DATA_("Note"), true);
|
||||
|
||||
if (p->custom_color[3])
|
||||
|
||||
Reference in New Issue
Block a user