Try adding the icon directory to the list of nuke's path:

nuke.pluginAddPath("your directory here")



Hello everyone!
I almost finished a script I was working on the last couple of days and now I'm testing it inside of init.py

Everything works fine but the icon that is supposed to be shown on the Nodes panel is not there.

The button is there, I can click it and it runs the script perfectly, if i roll over with the mouse I can see the name I assigned so the first two arguments are working.

Unfortunately the icon is not shown.

Icon is stored inside of /plugins/icons directory and if I run the script from Nuke Script Editor, it works.

any idea?

this is the code, just as a reference.

nodeMenu = nuke.menu('Nodes')
nodeMenu.addCommand("El Gringo", 'panel()', icon='wile.png')


thank you very much



--
**************************
Magno Borgo

www.borgo.tv
www.boundaryvfx.com
_______________________________________________
Nuke-python mailing list
[email protected], http://forums.thefoundry.co.uk/
http://support.thefoundry.co.uk/cgi-bin/mailman/listinfo/nuke-python

Reply via email to