Blender Git Commit Log

Git Commits -> Revision dbb6198

Revision dbb6198 by Ian Thompson (master)
July 15, 2008, 07:04 (GMT)
Any script can now register a unique key combination as part of its bpy header. For a supported space type, the user may press this shortcut to invoke the script.

Space types that are to support shortcuts like this should call BPY_menu_do_shortcut(...) from the event queue read method (See winqreadtextspace in drawtext.c for example)

Commit Details:

Full Hash: dbb61988fdaa6085912dee6ab8f5569e63ef88fb
SVN Revision: 15582
Parent Commit: 14c1ed0
Lines Changed: +349, -10

8 Modified Paths:

/release/scripts/textplugin_suggest.py (+65, -0) (Diff)
/source/blender/include/BIF_keyval.h (+3, -0) (Diff)
/source/blender/python/BPY_extern.h (+2, -0) (Diff)
/source/blender/python/BPY_interface.c (+31, -3) (Diff)
/source/blender/python/BPY_menus.c (+30, -5) (Diff)
/source/blender/python/BPY_menus.h (+1, -0) (Diff)
/source/blender/src/drawtext.c (+22, -2) (Diff)
/source/blender/src/keyval.c (+195, -0) (Diff)
By: Miika HämäläinenLast update: Nov-07-2014 14:18MiikaHweb | 2003-2021