diff options
author | Philipp Oeser <info@graphics-engineer.com> | 2018-12-27 16:41:02 +0300 |
---|---|---|
committer | Philipp Oeser <info@graphics-engineer.com> | 2018-12-27 17:13:18 +0300 |
commit | 21e4f3bd8c3b797d6b51cafbfb33e2bed9f42269 (patch) | |
tree | 9c15f3868176a2bf3d572f95f352e6abd2061361 /source | |
parent | be1b32e4e49e6f8b51aca193c8a2399af893008f (diff) |
Fix T59861: converting GP stroke to curve doesn't immediately work
Reviewers: antoniov, brecht
Maniphest Tasks: T59861
Differential Revision: https://developer.blender.org/D4127
Diffstat (limited to 'source')
-rw-r--r-- | source/blender/editors/gpencil/gpencil_convert.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/source/blender/editors/gpencil/gpencil_convert.c b/source/blender/editors/gpencil/gpencil_convert.c index 49ce18753b1..cb3fcba45e1 100644 --- a/source/blender/editors/gpencil/gpencil_convert.c +++ b/source/blender/editors/gpencil/gpencil_convert.c @@ -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; |