put into init.py

nuke.knobDefault('useGPUIfAvailable', "False")


On 27 March 2013 06:59, Nathan Rusch <nathan_ru...@hotmail.com> wrote:

> Hmm, that's an interesting one. It looks like Nuke is actually storing
> 'selectedGPUDeviceName' in the preferences file rather than
> 'selectedGPUDeviceIndex', and there's also a 'selectedGPUDeviceNum' knob on
> the preferences node.
>
> However, regardless of the knob default combinations I've tried (including
> setting both), I can't get it to default to 'Use CPU', even after removing
> my preferences entry for that value and swapping the Preferences class into
> the knobDefault calls. I could be overlooking something else, but it seems
> like the logic for this preference is handled differently than other
> preferences/defaults.
>
> -Nathan
>
>
> -----Original Message----- From: Josh Imbruglia
> Sent: Tuesday, March 26, 2013 9:49 AM
> To: Nuke Python discussion
> Subject: [Nuke-python] disabling gpu in Nuke7.0v5
>
>
> Hi,
>
> Is there is an easy way to disable them by default as we're running
> into some issues.
>
> using nuke.knobDefault('preferences.**selectedGPUDeviceIndex', 'Use
> CPU') doesn't seem to work.
>
> thanks,
> Josh
> ______________________________**_________________
> Nuke-python mailing list
> Nuke-python@support.**thefoundry.co.uk<Nuke-python@support.thefoundry.co.uk>,
> http://forums.thefoundry.co.**uk/ <http://forums.thefoundry.co.uk/>
> http://support.thefoundry.co.**uk/cgi-bin/mailman/listinfo/**nuke-python<http://support.thefoundry.co.uk/cgi-bin/mailman/listinfo/nuke-python>
> ______________________________**_________________
> Nuke-python mailing list
> Nuke-python@support.**thefoundry.co.uk<Nuke-python@support.thefoundry.co.uk>,
> http://forums.thefoundry.co.**uk/ <http://forums.thefoundry.co.uk/>
> http://support.thefoundry.co.**uk/cgi-bin/mailman/listinfo/**nuke-python<http://support.thefoundry.co.uk/cgi-bin/mailman/listinfo/nuke-python>
>
_______________________________________________
Nuke-python mailing list
Nuke-python@support.thefoundry.co.uk, http://forums.thefoundry.co.uk/
http://support.thefoundry.co.uk/cgi-bin/mailman/listinfo/nuke-python

Reply via email to