[Bf-blender-cvs] [7ce387b1cd4] blender2.8: RNA: disable notifiers from property updates

Campbell Barton noreply at git.blender.org
Wed Oct 17 07:17:14 CEST 2018


Commit: 7ce387b1cd4581961ee4cc9db2e23b00cc9ad9d9
Author: Campbell Barton
Date:   Wed Oct 17 16:14:58 2018 +1100
Branches: blender2.8
https://developer.blender.org/rB7ce387b1cd4581961ee4cc9db2e23b00cc9ad9d9

RNA: disable notifiers from property updates

This was re-enabled because it made copy-on-write bugs hard to
track down.

Since copy-on-write implementation has been simplified
this isn't a problem anymore.

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

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

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

diff --git a/source/blender/makesrna/intern/rna_access.c b/source/blender/makesrna/intern/rna_access.c
index cb1453fd0bf..a105e205a2e 100644
--- a/source/blender/makesrna/intern/rna_access.c
+++ b/source/blender/makesrna/intern/rna_access.c
@@ -2070,7 +2070,7 @@ static void rna_property_update(bContext *C, Main *bmain, Scene *scene, PointerR
 				prop->update(bmain, scene, ptr);
 		}
 
-#if 1
+#if 0
 		/* TODO(campbell): Should eventually be replaced entirely by message bus (below)
 		 * for now keep since COW, bugs are hard to track when we have other missing updates. */
 		if (prop->noteflag) {



More information about the Bf-blender-cvs mailing list