Hi,
On 31/01/2012 22:24, Anthony Kramer wrote:
I found this in the python docs: nuke.addToolsetExcludePaths(paths)
I tried adding it to my menu.py but it doesn't seem to do anything. I
even confirmed that its grabbing the paths I specify in my menu.py by
running a "print nuke.getToolsetExcludePaths()" from the script
editor. Anyone have any experience with this function?
I just had a quick look at the code for this (which is in
plugins/nukescripts/toolsets.py, traversePluginPaths()). Currently this
just allows you to exclude any of the nuke plugin paths from the search
(so if you added .nuke, you *shouldn't* see any toolsets stored under
.nuke/ToolSets appearing in the list
On Tue, Jan 31, 2012 at 1:25 PM, Anthony Kramer
<[email protected] <mailto:[email protected]>> wrote:
We have our nuke install under version control and so there are
hidden ".svn" files stored on the file system. The ToolSets menu
seems to think these are folders it should load so every level of
the menu has a ".svn" folder with a bunch of sub folders. Any one
have any ideas how I can get nuke not to display those folders?
nuke 6.3v6 on linux
Unfortunately there's no way to do this currently. You can exclude the
entire .nuke/ToolSets directory, but if you don't exclude it everything
below there will appear in the menu (including .svn folders).
However it shouldn't be too difficult to change the logic to support
what you want. I've logged the bug
*Bug 24709*
<https://secure.thefoundry.co.uk/bugzilla/show_bug.cgi?id=24709>
-Toolsets - .svn folders are appearing in the toolset menu
I'll keep you updated on progress.
Cheers,
Peter.
-Anthony
_______________________________________________
Nuke-users mailing list
[email protected], http://forums.thefoundry.co.uk/
http://support.thefoundry.co.uk/cgi-bin/mailman/listinfo/nuke-users
_______________________________________________
Nuke-users mailing list
[email protected], http://forums.thefoundry.co.uk/
http://support.thefoundry.co.uk/cgi-bin/mailman/listinfo/nuke-users