[Bf-blender-cvs] [13f80a152a3] blender2.8: Fix T53800: Bad data editing during DEG evaluation?

Bastien Montagne noreply at git.blender.org
Mon Mar 26 10:43:08 CEST 2018


Commit: 13f80a152a3a84286330b1bc6d9818279b976e91
Author: Bastien Montagne
Date:   Mon Mar 26 10:41:31 2018 +0200
Branches: blender2.8
https://developer.blender.org/rB13f80a152a3a84286330b1bc6d9818279b976e91

Fix T53800: Bad data editing during DEG evaluation?

Remain convinced that it should not be possible for undo code to run in
parallel with DEG eval... But for now, this whould prevent static
override code to dive into this collection.

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

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

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

diff --git a/source/blender/makesrna/intern/rna_object.c b/source/blender/makesrna/intern/rna_object.c
index aa78b9e614d..80449a77b14 100644
--- a/source/blender/makesrna/intern/rna_object.c
+++ b/source/blender/makesrna/intern/rna_object.c
@@ -2835,6 +2835,7 @@ static void rna_def_object(BlenderRNA *brna)
 	                                  NULL,
 	                                  NULL);
 	RNA_def_property_struct_type(prop, "LayerCollectionSettings");
+	RNA_def_property_flag(prop, PROP_NO_COMPARISON);  /* XXX see T53800. */
 	RNA_def_property_ui_text(prop, "Collection Settings",
 	                         "Engine specific render settings to be overridden by collections");



More information about the Bf-blender-cvs mailing list