Re: [Bf-committers] Substituting hot keys in an addon

2011-06-16 Thread Michael Fox
On 16/06/11 06:46, Nathan Vegdahl wrote: Hello all, I am wondering if there is a best practice for substituting hotkeys via an addon. The use-case is that in Rigify I would like to allow the user to add rig-type samples via shift-A in armature edit mode. Doing so will require

Re: [Bf-committers] Substituting hot keys in an addon

2011-06-16 Thread Nathan Vegdahl
Okay, it sounds like there isn't really a nice way to do this yet, then. So I'll change vanilla Blender to pop up a menu on shift-A. That should be useful for other addons involving armatures as well. --Nathan On Thu, Jun 16, 2011 at 1:46 AM, Campbell Barton ideasma...@gmail.com wrote: On

[Bf-committers] Substituting hot keys in an addon

2011-06-15 Thread Nathan Vegdahl
Hello all, I am wondering if there is a best practice for substituting hotkeys via an addon. The use-case is that in Rigify I would like to allow the user to add rig-type samples via shift-A in armature edit mode. Doing so will require popping up a menu of some kind. However, currently

Re: [Bf-committers] Substituting hot keys in an addon

2011-06-15 Thread Martin Poirier
Hi, --- On Wed, 6/15/11, Nathan Vegdahl ces...@cessen.com wrote:    What I would like to do is substitute in a menu when the Rigify addon is enabled.  I am curious if there is an accepted best-practice way to do this, that is robust against custom keymaps, for example, and other