Welcome to mirror list, hosted at ThFree Co, Russian Federation.

git.blender.org/blender.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorBastien Montagne <montagne29@wanadoo.fr>2019-08-16 16:34:04 +0300
committerBastien Montagne <montagne29@wanadoo.fr>2019-08-16 17:25:52 +0300
commitdc0376555fa948746c97a68cdf39ef4487505710 (patch)
tree2cb10e3daf9631ee212cca544114f2637c2d702d
parent078d02f55743cd34c51c4dd7ca710b22441a12da (diff)
LibOverride: do not allow diffing on collections' `all_objects` member.
This is useless (as diffing on `objects` + `children` shall be enough), and potentially very time consuming in case of heavy hierarchy of collections.
-rw-r--r--source/blender/makesrna/intern/rna_collection.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/source/blender/makesrna/intern/rna_collection.c b/source/blender/makesrna/intern/rna_collection.c
index 5a37c4c0e6f..691803e0de1 100644
--- a/source/blender/makesrna/intern/rna_collection.c
+++ b/source/blender/makesrna/intern/rna_collection.c
@@ -403,6 +403,7 @@ void RNA_def_collections(BlenderRNA *brna)
RNA_def_property_struct_type(prop, "Object");
RNA_def_property_ui_text(
prop, "All Objects", "Objects that are in this collection and its child collections");
+ RNA_def_property_override_flag(prop, PROPOVERRIDE_NO_COMPARISON);
RNA_def_property_collection_funcs(prop,
"rna_Collection_all_objects_begin",
"rna_iterator_listbase_next",