[Bf-blender-cvs] [937a7e8cc23] master: UI: tweak preferences

Campbell Barton noreply at git.blender.org
Sun Jan 6 10:46:59 CET 2019


Commit: 937a7e8cc23c9034b0fcc87972a3485aae25b141
Author: Campbell Barton
Date:   Sun Jan 6 20:41:03 2019 +1100
Branches: master
https://developer.blender.org/rB937a7e8cc23c9034b0fcc87972a3485aae25b141

UI: tweak preferences

- Move author to save&load
  (was incorrectly under text editor).
- Rename Memory -> Memory/Limits
  (some of the settings aren't obviously todo with memory).

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

M	release/scripts/startup/bl_ui/space_userpref.py

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

diff --git a/release/scripts/startup/bl_ui/space_userpref.py b/release/scripts/startup/bl_ui/space_userpref.py
index a115213fc2a..d4d5d319f9e 100644
--- a/release/scripts/startup/bl_ui/space_userpref.py
+++ b/release/scripts/startup/bl_ui/space_userpref.py
@@ -640,7 +640,7 @@ class USERPREF_PT_system_opengl_selection(PreferencePanel):
 
 
 class USERPREF_PT_system_memory(PreferencePanel):
-    bl_label = "Memory"
+    bl_label = "Memory/Limits"
     bl_options = {'DEFAULT_CLOSED'}
 
     @classmethod
@@ -1228,6 +1228,7 @@ class USERPREF_PT_file_saveload(PreferencePanel):
 
         layout.prop(paths, "save_version")
         layout.prop(paths, "recent_files")
+        layout.prop(paths, "author", text="Author")
 
 
 class USERPREF_PT_file_saveload_autosave(PreferencePanel):
@@ -1257,7 +1258,6 @@ class USERPREF_PT_file_saveload_texteditor(PreferencePanel):
         paths = prefs.filepaths
 
         layout.prop(paths, "use_tabs_as_spaces")
-        layout.prop(paths, "author", text="Author")
 
 
 class USERPREF_MT_ndof_settings(Menu):



More information about the Bf-blender-cvs mailing list