GP: Set default active layer when create stroke object
This commit is contained in:
@@ -231,7 +231,7 @@ void ED_gpencil_create_stroke(bContext *C, float mat[4][4])
|
||||
|
||||
/* layers */
|
||||
bGPDlayer *colors = BKE_gpencil_layer_addnew(gpd, "Colors", false);
|
||||
bGPDlayer *lines = BKE_gpencil_layer_addnew(gpd, "Lines", false);
|
||||
bGPDlayer *lines = BKE_gpencil_layer_addnew(gpd, "Lines", true);
|
||||
|
||||
/* frames */
|
||||
bGPDframe *frame_color = BKE_gpencil_frame_addnew(colors, cfra_eval);
|
||||
|
||||
Reference in New Issue
Block a user