[Bf-blender-cvs] [39ecf90185b] master: LibOverride optimization; Do not compare bound box of objects.

Bastien Montagne noreply at git.blender.org
Fri Mar 26 16:13:21 CET 2021


Commit: 39ecf90185bddfdd210d4d88af8cabcf6918e808
Author: Bastien Montagne
Date:   Fri Mar 26 16:12:30 2021 +0100
Branches: master
https://developer.blender.org/rB39ecf90185bddfdd210d4d88af8cabcf6918e808

LibOverride optimization; Do not compare bound box of objects.

This is runtime only data, no need to deal with it.

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

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 b53318cfbfe..70ec2b752c7 100644
--- a/source/blender/makesrna/intern/rna_object.c
+++ b/source/blender/makesrna/intern/rna_object.c
@@ -2798,6 +2798,7 @@ static void rna_def_object(BlenderRNA *brna)
   RNA_def_property_multi_array(prop, 2, boundbox_dimsize);
   RNA_def_property_clear_flag(prop, PROP_EDITABLE);
   RNA_def_property_override_clear_flag(prop, PROPOVERRIDE_OVERRIDABLE_LIBRARY);
+  RNA_def_property_override_flag(prop, PROPOVERRIDE_NO_COMPARISON);
   RNA_def_property_float_funcs(prop, "rna_Object_boundbox_get", NULL, NULL);
   RNA_def_property_ui_text(
       prop,



More information about the Bf-blender-cvs mailing list