CreativeLyons / NukeSurvivalToolkit_publicRelease

public version of the nuke survival toolkit
MIT License
219 stars 45 forks source link

Organize option #28

Open itaki opened 1 year ago

itaki commented 1 year ago

This update simply allows someone the option of creating a special NST menu or filing the tools in their respective Nuke menus. Or both!

Changes added 2 variables that need to be set in menu.py moved menu creation into a function added menu creation logic after the function is declared moved documentation function out of menu function

To use just set these two variables in menu.py.

nst_menu = True      # loads NST as its own menu
organize = True      # loads tools in nuke menus

nst_menu = True will create the NST menu as expected organize = True will organize all the NST menus into the Nuke menus

note : setting nst_menu = True and organize = False will not change any behavior of the original NST install.

note : setting organize = True and nst_menu = True will add the NST menu and a few icons to the bottom of the Nuke toolbar. These are the extra categories that NST provides in its install. Useful things like a CG icon that contains CG stuff. Why isn't this there anyway?

note : setting organize = True and nst_menu = False will still produce a NST menu, however, the only thing that will be populated in it will be the documentation. It will also produce a few more icons from the extra categories that were in Nuke.

note : setting organize = False and nst_menu = False will not load any part of the toolkit.