[Bf-committers] menu short cut for adding NLA strips commented out?

Matt Ebb matt at mke3.net
Thu Sep 14 06:10:45 CEST 2006


On 13/09/2006, at 15:57 PM, Tom M wrote:

> Anyone know why
>
> // uiDefIconTextBut(block, BUTM, 1, ICON_BLANK1, "Add Action
> Strip|Shift A", 0, yco-=20, menuwidth, 19, NULL, 0.0, 0.0, 0, 1, "");
>
> is commented out in - header_nla.c ?
>
> A user just requested a menu shortcut for it, and thus i stumbled
> across it when i went to add it...

Because as far as I know, the backend code still is dependent on  
mouse location, which is not only silly, but breaks it's use from a  
menu. It needs to be changed to depend on the selected object/data  
whatever, not the mouse position, but someone just needs to do that :)

matt


------------------------------------------
Matt Ebb . matt at mke3.net . http://mke3.net



-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://projects.blender.org/pipermail/bf-committers/attachments/20060914/9fb6ef5f/attachment.html


More information about the Bf-committers mailing list