Blender Git Commit Log

Git Commits -> Revision 9398db0

Revision 9398db0 by Dalai Felinto (master)
January 18, 2018, 15:05 (GMT)
Outliner: Keep header operator-free and edit menu cleanup

Headers should not have operators as much as possible. The exception here is
for datablocks mode when you want to see the active keyset.

Edit menus on the other hand should be clearly distinct from the RMB context
menus. Edit menu options should be only the ones that apply to the entire
outliner, regardless of the selected element.

Context (rmb) menus should be related to the element you RMB on to invoke the
menu. I'm also taking this opportunity to start bringing the context menus
to Python. There is little reason not to, and it helps editing them (In this
case I'm doing it only for the Scene Collection one).

Commit Details:

Full Hash: 9398db07cce4ec8b6992e14358dcb840dbe46825
Parent Commit: 539e170
Lines Changed: +32, -21

2 Modified Paths:

/release/scripts/startup/bl_ui/space_outliner.py (+31, -20) (Diff)
/source/blender/editors/space_outliner/outliner_tools.c (+1, -1) (Diff)
By: Miika HämäläinenLast update: Nov-07-2014 14:18MiikaHweb | 2003-2021