As much as callbacks are cool and powerful, I have seen them over used
quite a bit which brings Nuke to a crawl and can cause all sorts of
errors that are hard to debug. So I always try to go with the least
"invasive" one and doing lots of context/error checking first to leave
the custom function as soon as possible if it's not meant to be fired
under certain circumstances.
On 28/01/14 23:34, Johannes Hezer wrote:
Hi Frank and Jesse,
I gave it a try with the knobChanged Callbacks and I like the instant
feedback.
Sofar it is much better than having the python function in the file
knob (I think I ll never do that again)
But I guess you are right for a the most minimalistic beforeRender is
the best choice
thanks
Johannes
On 01/27/2014 07:15 PM, Jesse Kretschmer wrote:
On Fri, Jan 24, 2014 at 9:49 PM, Frank Rueter <[email protected]
<mailto:[email protected]>> wrote:
why not use the beforeRender callback to only process things when
they will be needed?
I agree with Frank on this one. When I suggested the onKnobChange
callback, I was assuming you were doing some simple validation, but I
see now that you are interested in auto-filling the output path,
which should only be important before render.
_______________________________________________
Nuke-python mailing list
[email protected],http://forums.thefoundry.co.uk/
http://support.thefoundry.co.uk/cgi-bin/mailman/listinfo/nuke-python
____ ESET 8964 (20131025) ____
The message was checked by ESET Mail Security.
--
STUDIO RAKETE GmbH
Johannes Hezer, Compositing TD & Stereoscopic SV
Schomburgstr. 120
D - 22767 Hamburg
[email protected]
Tel:+49 (0)40 - 380 375 69 - 0
Fax:+49 (0)40 - 380 375 69 - 99
------------------------------------------------------
Pflichtangaben laut Handelsgesetzbuch und GmbH-Gesetz:
STUDIO RAKETE GmbH
Schomburgstr. 120 D - 22767 Hamburg
www.studiorakete.de /[email protected]
Geschaeftsfuehrer: Jana Bohl
Die Gesellschaft ist eingetragen im Handelregister des
Amtsgerichts Hamburg unter der Nummer HR B 95660
USt.-ID Nr.: DE 245787817
____ ESET 8964 (20131025) ____
The message was checked by ESET Mail Security.
_______________________________________________
Nuke-python mailing list
[email protected], http://forums.thefoundry.co.uk/
http://support.thefoundry.co.uk/cgi-bin/mailman/listinfo/nuke-python
_______________________________________________
Nuke-python mailing list
[email protected], http://forums.thefoundry.co.uk/
http://support.thefoundry.co.uk/cgi-bin/mailman/listinfo/nuke-python