From 9905f5725c366b6ee8b159a7293e8bd273922dfa Mon Sep 17 00:00:00 2001 From: Bastien Montagne Date: Fri, 19 Jun 2020 16:52:23 +0200 Subject: LibOverride: rempve ID preview from comparison (diffing) process. Accessing this from RNA may actually create some data, which we do not want to happen when comparing data. Further more, preview is not data, but a view of it, so we should be safe ignoring it entirely here. --- source/blender/makesrna/intern/rna_ID.c | 1 + 1 file changed, 1 insertion(+) (limited to 'source/blender/makesrna/intern/rna_ID.c') diff --git a/source/blender/makesrna/intern/rna_ID.c b/source/blender/makesrna/intern/rna_ID.c index 97536e31003..9a7a27dc8ae 100644 --- a/source/blender/makesrna/intern/rna_ID.c +++ b/source/blender/makesrna/intern/rna_ID.c @@ -1545,6 +1545,7 @@ static void rna_def_ID(BlenderRNA *brna) "Preview", "Preview image and icon of this data-block (None if not supported for this type of data)"); RNA_def_property_clear_flag(prop, PROP_EDITABLE); + RNA_def_property_override_flag(prop, PROPOVERRIDE_NO_COMPARISON); RNA_def_property_pointer_funcs(prop, "rna_IDPreview_get", NULL, NULL, NULL); /* functions */ -- cgit v1.2.3