Fix T59861: converting GP stroke to curve doesn't immediately work
Reviewers: antoniov, brecht Maniphest Tasks: T59861 Differential Revision: https://developer.blender.org/D4127
This commit is contained in:
parent
be1b32e4e4
commit
21e4f3bd8c
Notes:
blender-bot
2023-02-14 06:17:14 +01:00
Referenced by issue #59861, converting GP stroke to curve doesn't immediately work
|
@ -1179,6 +1179,7 @@ static void gp_layer_to_curve(
|
|||
cu = ob->data = BKE_curve_add(bmain, gpl->info, OB_CURVE);
|
||||
BKE_collection_object_add(bmain, collection, ob);
|
||||
base_new = BKE_view_layer_base_find(view_layer, ob);
|
||||
DEG_relations_tag_update(bmain); /* added object */
|
||||
|
||||
cu->flag |= CU_3D;
|
||||
|
||||
|
|
Loading…
Reference in New Issue