Welcome to mirror list, hosted at ThFree Co, Russian Federation.

git.blender.org/blender.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorCampbell Barton <ideasman42@gmail.com>2017-03-16 21:10:36 +0300
committerCampbell Barton <ideasman42@gmail.com>2017-03-16 21:20:50 +0300
commitb2d3956e7b497bd6d5467113bfd76614f5188ae0 (patch)
tree6aaaf5d77d50cf30762383dd4befede9db741d50 /source/blender/windowmanager/intern/wm_init_exit.c
parentdb04980678ae8b2a2b3cd07bfdefa86af5c53f82 (diff)
Add support for loading preference struct
Previously it would always load into 'U' global. Needed for loading & merging template preferences.
Diffstat (limited to 'source/blender/windowmanager/intern/wm_init_exit.c')
-rw-r--r--source/blender/windowmanager/intern/wm_init_exit.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/source/blender/windowmanager/intern/wm_init_exit.c b/source/blender/windowmanager/intern/wm_init_exit.c
index 227e62d26d3..be74a0c7362 100644
--- a/source/blender/windowmanager/intern/wm_init_exit.c
+++ b/source/blender/windowmanager/intern/wm_init_exit.c
@@ -572,7 +572,7 @@ void WM_exit_ext(bContext *C, const bool do_python)
ED_file_exit(); /* for fsmenu */
UI_exit();
- BKE_blender_userdef_free(&U);
+ BKE_blender_userdef_free_data(&U);
RNA_exit(); /* should be after BPY_python_end so struct python slots are cleared */