diff options
author | Dalai Felinto <dfelinto@gmail.com> | 2018-01-19 20:44:26 +0300 |
---|---|---|
committer | Dalai Felinto <dfelinto@gmail.com> | 2018-01-19 21:06:14 +0300 |
commit | efe1af3d11a930b539718cc566049f07316427ff (patch) | |
tree | 106ebb3f0edda4263f1f9d88f114fd83a9da012d /source/blender/blenloader/intern/versioning_260.c | |
parent | d9858d5897efbf0e41ebe61c2aaabf451c33d6ad (diff) |
Outliner: Remove User Preferences
This was introduced to the outliner when we had no User Preference
window back in 2.5x. Right now it makes no sense to keep this around.
But how about addon user preferences:
* They belong in the user preference window under the addon.
How about the user preferences themselves:
* You find them in the user preference window.
And templates?
* Why are they here in the first place?
After talking to Pablo Vazquez (who in turn poked Sergey Sharybin) we found
it reasonable to get rid of this. If it turns out that we were wrong we
revert this.
As for leaving this exposed as a debug option (as suggested on IRC) I would say
no, please. This end up polluting the code and never cleaned up in the end.
(this was specific talking about templates).
Technical note: I left the functions in outliner still hanging around.
While I used UNUSED_FUNCTION for one of them, for the other one I had to use:
`#if 0` because the function was calling itself, which would fail to build if
I used UNUSED_FUNCTION.
Diffstat (limited to 'source/blender/blenloader/intern/versioning_260.c')
-rw-r--r-- | source/blender/blenloader/intern/versioning_260.c | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/source/blender/blenloader/intern/versioning_260.c b/source/blender/blenloader/intern/versioning_260.c index d26c30e6d31..3ac934f7de7 100644 --- a/source/blender/blenloader/intern/versioning_260.c +++ b/source/blender/blenloader/intern/versioning_260.c @@ -2458,8 +2458,7 @@ void blo_do_versions_260(FileData *fd, Library *UNUSED(lib), Main *main) SO_GROUPS, SO_LIBRARIES, SO_SEQUENCE, - SO_DATABLOCKS, - SO_USERDEF)) + SO_DATABLOCKS)) { so->outlinevis = SO_SCENES; } |