Problem summary
Within Nuke's .nuke plugin directory, users are able to set their Root Views KnobDefaults within their ~/.nuke/init.py file location,
With the Nuke11.3v1 release, users no longer receive the Root View KnobDefaults.
This appears to be due to the new 'Views' preferences option:
Unfortunately, there currently is no way to set the Preferences node with Python, users must manually open the preferences and change it on their first launch.
Customer reported version
nuke.11.3v1
Customer reported platform
fedora
Steps to reproduce
1) Add the following to your ~/.nuke/init.py file location:
nuke.knobDefault('Root.views', 'L #ff0000\nR #00ff00\n')nuke.knobDefault('Root.views_colours', 'true')
2) Open Nuke11.2v5 and notice that the Viewer has 2 Views ( L & R )
3) Open Nuke11.3v1
Result: The Viewer will only display the default views ( Main ).
Users must change the preferences manually in nuke for future projects.
Workaround
Users can set up their default views with the Preferences -> Views options.
Alternatively, putting the following code in the init.py also seems to set stereo views correctly: