Rietveld Code Review Tool
Help | Bug tracker | Discussion group | Source code | Sign in
(15)

Issue 6307057: User preferences separate from default .blend

Can't Edit
Can't Publish+Mail
Start Review
Created:
11 years, 10 months ago by Vino
Modified:
8 years, 4 months ago
Reviewers:
bf-codereview
Base URL:
https://svn.blender.org/svnroot/bf-blender/trunk/blender/
Visibility:
Public.

Description

This patch separates user preferences into a preferences.blend which is loaded independently of startup.blend. This allows the user to save preferences in the middle of a project without saving her work-in-progress as the default blend. When Blender starts, the preferences.blend is loaded first, and then the startup.blend is loaded without preferences. Thus everything that was copied into the U global by preferences.blend remains and is not overwritten when startup.blend is loaded. Ton told me that there was some discussion circa 2008 concerning changing what should be saved as a preference or not. For the life of me I couldn't find this discussion, if anybody can link it to me I would love to read it and update this patch accordingly.

Patch Set 1 #

Unified diffs Side-by-side diffs Delta from patch set Stats (+158 lines, -58 lines) Patch
M . View 0 chunks +0 lines, -0 lines 0 comments Download
M release/scripts/startup/bl_ui/space_userpref.py View 1 chunk +1 line, -1 line 0 comments Download
M source/blender/blenkernel/BKE_global.h View 1 chunk +2 lines, -0 lines 0 comments Download
M source/blender/blenkernel/intern/blender.c View 4 chunks +11 lines, -8 lines 0 comments Download
M source/blender/blenlib/BLI_path_util.h View 1 chunk +1 line, -0 lines 0 comments Download
M source/blender/blenloader/intern/writefile.c View 5 chunks +40 lines, -41 lines 0 comments Download
M source/blender/windowmanager/WM_api.h View 1 chunk +2 lines, -0 lines 0 comments Download
M source/blender/windowmanager/intern/wm_files.c View 5 chunks +86 lines, -7 lines 0 comments Download
M source/blender/windowmanager/intern/wm_init_exit.c View 1 chunk +2 lines, -0 lines 0 comments Download
M source/blender/windowmanager/intern/wm_operators.c View 2 chunks +13 lines, -1 line 0 comments Download

Messages

Total messages: 1
Vino
11 years, 10 months ago (2012-06-07 21:35:08 UTC) #1

          
Sign in to reply to this message.

Powered by Google App Engine
RSS Feeds Recent Issues | This issue
This is Rietveld f62528b