[Bf-blender-cvs] [c5a76447171] master: Fix T71817: Preferences tagged dirty by 'Enabled Add-ons Only'
Campbell Barton
noreply at git.blender.org
Fri Dec 20 05:17:47 CET 2019
Commit: c5a76447171e263bba6388ff2292cc7f3880bd56
Author: Campbell Barton
Date: Fri Dec 20 15:14:51 2019 +1100
Branches: master
https://developer.blender.org/rBc5a76447171e263bba6388ff2292cc7f3880bd56
Fix T71817: Preferences tagged dirty by 'Enabled Add-ons Only'
===================================================================
M source/blender/makesrna/intern/rna_userdef.c
===================================================================
diff --git a/source/blender/makesrna/intern/rna_userdef.c b/source/blender/makesrna/intern/rna_userdef.c
index ed89faf69cf..1f15288d2d6 100644
--- a/source/blender/makesrna/intern/rna_userdef.c
+++ b/source/blender/makesrna/intern/rna_userdef.c
@@ -4283,12 +4283,14 @@ static void rna_def_userdef_view(BlenderRNA *brna)
"Show the frames per second screen refresh rate, while animation is played back");
RNA_def_property_update(prop, 0, "rna_userdef_update");
+ USERDEF_TAG_DIRTY_PROPERTY_UPDATE_DISABLE;
prop = RNA_def_property(srna, "show_addons_enabled_only", PROP_BOOLEAN, PROP_NONE);
RNA_def_property_boolean_sdna(
prop, NULL, "space_data.flag", USER_SPACEDATA_ADDONS_SHOW_ONLY_ENABLED);
RNA_def_property_ui_text(prop,
"Enabled Add-ons Only",
"Only show enabled add-ons. Un-check to see all installed add-ons");
+ USERDEF_TAG_DIRTY_PROPERTY_UPDATE_ENABLE;
static const EnumPropertyItem factor_display_items[] = {
{USER_FACTOR_AS_FACTOR, "FACTOR", 0, "Factor", "Display factors as values between 0 and 1"},
More information about the Bf-blender-cvs
mailing list