Digging this one out of the trash a little, but I'm now curious what the
proper method of implementing a feedback knob that displays some text would
be (preferably in a knob type that would allow text copying). Is there any
way of handling this (as of 6.2v4) short of adding a read-only String_knob?
-Nathan
-----Original Message-----
From: Abigail Brady
Sent: Friday, June 17, 2011 2:35 AM
To: Nuke plug-in development discussion
Subject: Re: [Nuke-dev] Using knob as a feedback device
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
_______________________________________________
Nuke-dev mailing list
[email protected], http://forums.thefoundry.co.uk/
http://support.thefoundry.co.uk/cgi-bin/mailman/listinfo/nuke-dev