Hi David,
You can get around this problem by using "Shift+>" instead of "Shift+.".
This may vary slightly depending on OS (I think Qt's keyboard shortcut
handling isn't 100% consistent) but that works for me on Ubuntu 64-bit.
This worked for me
nuke.menu('Nuke').addCommand('Test', 'nuke.message("Test")', 'Shift+>')
It's probably worth sending this in to support as well so they can look
at adding a fix for the branched dot node option.
Cheers,
- Chris
On 30/08/11 10:44, David Wahlberg wrote:
Hi all,
It's been bugging me for a long time that "shift+." isn't creating a
branched off dot-node which definitely would make sense in regards to
"shift+m" creating a branched of merge etc.
I tried to fix it myself and realized I couldn't bind the combination
"shift+." (shift and dot) to a function using the following code:
menunode.addCommand('Create dot branch',
'ilp_nukeExtras.ilp_createDotBranch(nuke.selectedNode())', 'shift+.')
Does anybody know a solution to this? And maybe even a reason of why
it's like this as well?
Cheers,
David
_______________________________________________
Nuke-python mailing list
[email protected], http://forums.thefoundry.co.uk/
http://support.thefoundry.co.uk/cgi-bin/mailman/listinfo/nuke-python
--
Chris Bevan, Senior Software Engineer
The Foundry, 6th Floor, The Communications Building
48 Leicester Square, London, WC2H 7LT
Tel: +44 (0)20 7968 6828 | Fax: +44 (0)20 7930 8906
Web: www.thefoundry.co.uk
The Foundry Visionmongers Ltd
Registered in England and Wales No: 4642027
_______________________________________________
Nuke-python mailing list
[email protected], http://forums.thefoundry.co.uk/
http://support.thefoundry.co.uk/cgi-bin/mailman/listinfo/nuke-python