[Bf-blender-cvs] [2029697861d] blender2.8: Fix: Armature display settings (names, axes, shapes, etc.) didn't refresh view with Copy on Write enabled

Joshua Leung noreply at git.blender.org
Thu Apr 19 12:37:20 CEST 2018


Commit: 2029697861d7a9a35eec8d0c3839a424b367fb8a
Author: Joshua Leung
Date:   Thu Apr 19 12:36:44 2018 +0200
Branches: blender2.8
https://developer.blender.org/rB2029697861d7a9a35eec8d0c3839a424b367fb8a

Fix: Armature display settings (names, axes, shapes, etc.) didn't refresh view with Copy on Write enabled

Now we need to tag the depsgraph to inform all copies that stuff changed.

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

M	source/blender/makesrna/intern/rna_armature.c

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

diff --git a/source/blender/makesrna/intern/rna_armature.c b/source/blender/makesrna/intern/rna_armature.c
index 3afa682e75f..1747d2fbc23 100644
--- a/source/blender/makesrna/intern/rna_armature.c
+++ b/source/blender/makesrna/intern/rna_armature.c
@@ -147,6 +147,7 @@ static void rna_Armature_redraw_data(Main *UNUSED(bmain), Scene *UNUSED(scene),
 {
 	ID *id = ptr->id.data;
 	
+	DEG_id_tag_update(id, DEG_TAG_COPY_ON_WRITE);
 	WM_main_add_notifier(NC_GEOM | ND_DATA, id);
 }



More information about the Bf-blender-cvs mailing list