[Bf-blender-cvs] [bda95ac0f94] master: Fix T86209: Preference Defaults "Relative Paths" tooltip could be improved.

Bastien Montagne noreply at git.blender.org
Thu Mar 4 12:21:01 CET 2021


Commit: bda95ac0f94d7df787d720f7176a573c7faa370b
Author: Bastien Montagne
Date:   Thu Mar 4 12:20:10 2021 +0100
Branches: master
https://developer.blender.org/rBbda95ac0f94d7df787d720f7176a573c7faa370b

Fix T86209: Preference Defaults "Relative Paths" tooltip could be improved.

This UserPref setting is only used when no path is set yet.

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

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 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);



More information about the Bf-blender-cvs mailing list