[Bf-blender-cvs] [672c9a9a6d6] blender2.8: Fix T53583: Crash when instancing a group with an armature

Dalai Felinto noreply at git.blender.org
Tue Dec 19 13:46:47 CET 2017


Commit: 672c9a9a6d6a06a24bda3ef31b5713c51f05e033
Author: Dalai Felinto
Date:   Tue Dec 19 10:36:14 2017 -0200
Branches: blender2.8
https://developer.blender.org/rB672c9a9a6d6a06a24bda3ef31b5713c51f05e033

Fix T53583: Crash when instancing a group with an armature

There is still a crash that you get because the draw manager needs to
handle duplis differently.

But the initial assert caused by this particular file is now fixed.

===================================================================

M	source/blender/editors/object/object_add.c

===================================================================

diff --git a/source/blender/editors/object/object_add.c b/source/blender/editors/object/object_add.c
index 98ee42f127b..07eeb48eaa6 100644
--- a/source/blender/editors/object/object_add.c
+++ b/source/blender/editors/object/object_add.c
@@ -1100,6 +1100,7 @@ static int group_instance_add_exec(bContext *C, wmOperator *op)
 
 		/* works without this except if you try render right after, see: 22027 */
 		DEG_relations_tag_update(bmain);
+		DEG_id_tag_update(&group->id, 0);
 
 		WM_event_add_notifier(C, NC_SCENE | ND_OB_ACTIVE, scene);



More information about the Bf-blender-cvs mailing list