::bump:: 
Nothing on this anyone?

On Mar 22, 2012, at 6:38 PM, Justin Israel wrote:

> This is a somewhat similar situation to something Bjorn Fredriksson asked on 
> Nov 16, regarding crashes in a gizmo that wraps a Write node.
> 
> I also have a Gizmo that wraps a Write node and exposes only very basic 
> custom knobs. One thing I am doing right now in a knobChanged callback is to 
> check the file_type and set certain relevant compression settings. 
> Specifically, for example, when tif is selected from the file_type dropdown, 
> I ensure that LZW is set in the compression knob. 
> This currently works fine when the callback is responding to the file_type 
> knob being directly changed, but when I change the file extension in the file 
> knob to .tif, the same callback code can't see the compression knob existing 
> yet.
> 
> Am I missing something about how I am referencing the node in the callback, 
> or some deferred action taking place to update the Write nodes file_type 
> specific compression knob? 
> When I test this manually from the script editor, I can change the extension 
> in the file knob and then check the value of the compression knob and it does 
> exist. I must be somehow checking before the Write node has updated itself.
> 
> -- justin
> 
> _______________________________________________
> 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

_______________________________________________
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