Blender Git Commit Log

Git Commits -> Revision efe1af3

Revision efe1af3 by Dalai Felinto (master)
January 19, 2018, 18:06 (GMT)
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.

Commit Details:

Full Hash: efe1af3d11a930b539718cc566049f07316427ff
Parent Commit: d9858d5
Lines Changed: +11, -29

8 Modified Paths:

/release/scripts/startup/bl_ui/space_outliner.py (+1, -1) (Diff)
/source/blender/blenloader/intern/versioning_260.c (+1, -2) (Diff)
/source/blender/blenloader/intern/versioning_280.c (+0, -1) (Diff)
/source/blender/editors/space_outliner/outliner_draw.c (+7, -10) (Diff)
/source/blender/editors/space_outliner/outliner_select.c (+1, -1) (Diff)
/source/blender/editors/space_outliner/outliner_tree.c (+0, -12) (Diff)
/source/blender/makesdna/DNA_space_types.h (+1, -1) (Diff)
/source/blender/makesrna/intern/rna_space.c (+0, -1) (Diff)
By: Miika HämäläinenLast update: Nov-07-2014 14:18MiikaHweb | 2003-2021