Cleanup: Make all 'Experimental -> Debug' preferences OFF by default.

Form a logic PoV, it makes more sense to have all 'debug' options
disabled as the 'normal' situation.

This commit merely invert the RNA-exposition of two settings (Asset
Indexer and Override auto-resync).
This commit is contained in:
Bastien Montagne
2023-12-20 12:44:55 +01:00
parent 06705c5864
commit 1ae10de6b2

View File

@@ -6944,12 +6944,11 @@ static void rna_def_userdef_experimental(BlenderRNA *brna)
"Use legacy undo (slower than the new default one, but may be more stable in some cases)");
prop = RNA_def_property(srna, "override_auto_resync", PROP_BOOLEAN, PROP_NONE);
RNA_def_property_boolean_negative_sdna(prop, nullptr, "no_override_auto_resync", 1);
RNA_def_property_ui_text(
prop,
"Override Auto Resync",
"Enable library overrides automatic resync detection and process on file load. Disable when "
"dealing with older .blend files that need manual Resync (Enforce) handling");
RNA_def_property_boolean_sdna(prop, nullptr, "no_override_auto_resync", 1);
RNA_def_property_ui_text(prop,
"No Override Auto Resync",
"Disable library overrides automatic resync detection and process on "
"file load (can be useful to help fixing broken files)");
prop = RNA_def_property(srna, "use_new_point_cloud_type", PROP_BOOLEAN, PROP_NONE);
RNA_def_property_boolean_sdna(prop, nullptr, "use_new_point_cloud_type", 1);
@@ -7003,10 +7002,10 @@ static void rna_def_userdef_experimental(BlenderRNA *brna)
RNA_def_property_update(prop, 0, "rna_userdef_ui_update");
prop = RNA_def_property(srna, "use_asset_indexing", PROP_BOOLEAN, PROP_NONE);
RNA_def_property_boolean_negative_sdna(prop, nullptr, "no_asset_indexing", 1);
RNA_def_property_boolean_sdna(prop, nullptr, "no_asset_indexing", 1);
RNA_def_property_ui_text(prop,
"Asset Indexing",
"Disabling the asset indexer forces every asset library refresh to "
"No Asset Indexing",
"Disable the asset indexer, to force every asset library refresh to "
"completely reread assets from disk");
RNA_def_property_update(prop, 0, "rna_userdef_ui_update");