Commit: b3806b3bd6975ad810c900210cb26dcdf18cfa9e
Author: Bastien Montagne
Date: Wed Apr 20 10:09:03 2022 +0200
Branches: draw-deferred-compilation-experiment
https://developer.blender.org/rBb3806b3bd6975ad810c900210cb26dcdf18cfa9e
Fix (unreported) huge liboverride slow-down due to non-disabled UV layer props.
Was revealed by yesterday's fix (rB6f56bd4083f9).
===================================================================
M source/blender/makesrna/intern/rna_mesh.c
===================================================================
diff --git a/source/blender/makesrna/intern/rna_mesh.c
b/source/blender/makesrna/intern/rna_mesh.c
index 52af96e355d..7e2b6d9c8ef 100644
--- a/source/blender/makesrna/intern/rna_mesh.c
+++ b/source/blender/makesrna/intern/rna_mesh.c
@@ -3182,6 +3182,7 @@ static void rna_def_mesh(BlenderRNA *brna)
RNA_def_property_pointer_funcs(
prop, "rna_Mesh_uv_layer_clone_get", "rna_Mesh_uv_layer_clone_set",
NULL, NULL);
RNA_def_property_flag(prop, PROP_EDITABLE);
+ RNA_def_property_override_flag(prop, PROPOVERRIDE_IGNORE);
RNA_def_property_ui_text(
prop, "Clone UV Loop Layer", "UV loop layer to be used as cloning
source");
@@ -3197,6 +3198,7 @@ static void rna_def_mesh(BlenderRNA *brna)
RNA_def_property_pointer_funcs(
prop, "rna_Mesh_uv_layer_stencil_get", "rna_Mesh_uv_layer_stencil_set",
NULL, NULL);
RNA_def_property_flag(prop, PROP_EDITABLE);
+ RNA_def_property_override_flag(prop, PROPOVERRIDE_IGNORE);
RNA_def_property_ui_text(prop, "Mask UV Loop Layer", "UV loop layer to mask
the painted area");
prop = RNA_def_property(srna, "uv_layer_stencil_index", PROP_INT,
PROP_UNSIGNED);
_______________________________________________
Bf-blender-cvs mailing list
[email protected]
List details, subscription details or unsubscribe:
https://lists.blender.org/mailman/listinfo/bf-blender-cvs