Blender Git Commit Log

Git Commits -> Revision 9504652

Revision 9504652 by Campbell Barton (master)
April 27, 2018, 11:55 (GMT)
UI: move tool definitions to classes

Originally it was nice to have a small list of definitions
with tools inline.

However we need to be able to define drawing functions for tools
which Python can't easily inline.

Use function for keymap definition,
support creating a function from a tuple as well
(handy for simple key-maps).

Commit Details:

Full Hash: 9504652687529ebcdc47aa08314560de1e1473de
Parent Commit: e01cadd
Lines Changed: +434, -361

2 Modified Paths:

/release/scripts/startup/bl_ui/space_toolsystem_common.py (+77, -53) (Diff)
/release/scripts/startup/bl_ui/space_toolsystem_toolbar.py (+357, -308) (Diff)
By: Miika HämäläinenLast update: Nov-07-2014 14:18MiikaHweb | 2003-2021