From bda95ac0f94d7df787d720f7176a573c7faa370b Mon Sep 17 00:00:00 2001 From: Bastien Montagne Date: Thu, 4 Mar 2021 12:20:10 +0100 Subject: Fix T86209: Preference Defaults "Relative Paths" tooltip could be improved. This UserPref setting is only used when no path is set yet. --- source/blender/makesrna/intern/rna_userdef.c | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/source/blender/makesrna/intern/rna_userdef.c b/source/blender/makesrna/intern/rna_userdef.c index 78c1d63af63..5ccf5d44d17 100644 --- a/source/blender/makesrna/intern/rna_userdef.c +++ b/source/blender/makesrna/intern/rna_userdef.c @@ -6062,7 +6062,9 @@ static void rna_def_userdef_filepaths(BlenderRNA *brna) prop = RNA_def_property(srna, "use_relative_paths", PROP_BOOLEAN, PROP_NONE); RNA_def_property_boolean_sdna(prop, NULL, "flag", USER_RELPATHS); RNA_def_property_ui_text( - prop, "Relative Paths", "Default relative path option for the file selector"); + prop, + "Relative Paths", + "Default relative path option for the file selector, when no path is defined yet"); prop = RNA_def_property(srna, "use_file_compression", PROP_BOOLEAN, PROP_NONE); RNA_def_property_boolean_sdna(prop, NULL, "flag", USER_FILECOMPRESS); -- cgit v1.2.3