[Bf-blender-cvs] [3ef32cb90a1] blender-v2.82-release: Fix T73186: Grease Pencil convert to Curve hidden until exiting edit mode
Sybren A. Stüvel
noreply at git.blender.org
Fri Jan 17 14:48:37 CET 2020
Commit: 3ef32cb90a1f23d3ea7ceb468be411b1a914c246
Author: Sybren A. Stüvel
Date: Fri Jan 17 14:48:11 2020 +0100
Branches: blender-v2.82-release
https://developer.blender.org/rB3ef32cb90a1f23d3ea7ceb468be411b1a914c246
Fix T73186: Grease Pencil convert to Curve hidden until exiting edit mode
The converted object wasn't tagged for updating its geometry in the
dependency graph.
===================================================================
M source/blender/editors/gpencil/gpencil_convert.c
===================================================================
diff --git a/source/blender/editors/gpencil/gpencil_convert.c b/source/blender/editors/gpencil/gpencil_convert.c
index 4a91a90c075..1ce4ffbbd46 100644
--- a/source/blender/editors/gpencil/gpencil_convert.c
+++ b/source/blender/editors/gpencil/gpencil_convert.c
@@ -1390,6 +1390,8 @@ static void gp_layer_to_curve(bContext *C,
}
ED_object_base_select(base_new, BA_SELECT);
+
+ DEG_id_tag_update(&ob->id, ID_RECALC_GEOMETRY);
}
/* --- */
More information about the Bf-blender-cvs
mailing list