On Thu, 2011-06-16 at 23:18 -0700, Ivan Busquets wrote:
> Is it just so the knob values will be updated even if _validate is not
> called on the Op? Or are there any other issues with doing that?

There are other reasons, and it can lead to all sorts of updating
weirdness, where Nuke would get into a perpetual loop re-evaluating the
script, pollution of caches with bad data, and other bad stuff.

> Say I wanted to implement a knob that works like the "XYZ output" knob
> in a Reconcile3D when "live output" is turned on, for example (getting
> data from an input and using that to set a knob's value). Would it be
> better to use ValueProvider as opposed to just setting the knob value
> in _validate? If so, what would be the benefit.


-- 
Abigail Brady, Senior Architect
The Foundry, 6th Floor, 48 Leicester Square, London. WC2H 7LT
Tel: +44 20 7968 6828 * Fax: +44 20 7930 8906
Web: www.thefoundry.co.uk

The Foundry Visionmongers Ltd
Registered in England and Wales No: 4642027

_______________________________________________
Nuke-dev mailing list
[email protected], http://forums.thefoundry.co.uk/
http://support.thefoundry.co.uk/cgi-bin/mailman/listinfo/nuke-dev

Reply via email to