Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
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 will create the NST menu as expected
organize = True will organize all the NST menus into the Nuke menus
note : setting
nst_menu = True
andorganize = False
will not change any behavior of the original NST install.note : setting
organize = True
andnst_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
andnst_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
andnst_menu = False
will not load any part of the toolkit.