Grease Pencil: Fix using wrong flag for selecting objects on convert

The correct fix should be to use ED_object_base_select() but I'm leaving
this to a separate pass.
This commit is contained in:
Dalai Felinto 2019-04-23 17:16:22 -03:00
parent 7388856318
commit c7452f14c5
1 changed files with 1 additions and 1 deletions

View File

@ -1396,7 +1396,7 @@ static void gp_layer_to_curve(bContext *C,
}
/* set the layer and select */
base_new->flag |= SELECT;
base_new->flag |= BASE_SELECTED;
BKE_scene_object_base_flag_sync_from_base(base_new);
}