Problem summary When adding Favourite directories to 'nuke.IMAGE' type File Browsers, the 'SmartVector' which is used to select an '.exr' image file is not included.
For example, the following code will work for other image type file knobs such as 'Read' & 'Write' nodes, but will not display for the 'SmartVector':
( Switch '/path/to/precomps' with a location on your PC)
This may be due to the unique properties of the 'SmartVector' file knob where it has a callback if the wrong file extension is selected. (It is a custom File Knob)
The 'SmartVector' node should be edited to include 'nuke.IMAGE' type favourites.
Customer reported version nuke.N/A
Customer reported platform N/A
Steps to reproduce
1) Open Nuke, Create a 'SmartVector' node & a 'Write' node
2) In the Script Editor, copy/paste the following code snippet:
(Switch '/path/to/precomps' with a location on your PC)
3) Enter the 'Write' node and click the folder icon on the file knob.. There will be a folder named 'My TEST' in the left panel.
4) Follow step 3 with the 'SmartVector' node
Result: The 'SmartVector' node's file browser will not have the favourited folder.
Workaround The only way to give 'SmartVector' nodes a favourite directory is to take out the 'nuke.IMAGE' parameter at the end. This will give any file type knobs that folder as well. (Which may cause a bit of clutter for other knobs which have lots of favourites folders)
Reproduced by support Nuke11.0v2 - Windows 7 - Mac10.12 - CentOS6.9 Nuke11.0v1 - Windows 7 - Mac10.12 - CentOS6.9 Nuke10.5v5 - Windows 7 - Mac10.12 - CentOS6.9 Nuke10.5v1 - Windows 7 - Mac10.12 - CentOS6.9 Nuke10.0v6 - Windows 7 - Mac10.12 - CentOS6.9 Nuke10.0v1 - Windows 7 - Mac10.12 - CentOS6.9
Earliest version tested Nuke10.0v1 - SmartVector implemented with this version
Expected behaviour When creating a favourites folder for specifically 'nuke.IMAGE' type file knobs, the 'SmartVector' node should receive the favourites folders.
Actual behaviour The 'SmartVector' node does not get the 'nuke.IMAGE' type file knob favourites folders.