[Bf-cycles] Script node updating from OSL defaults

Matt Ebb matt at mke3.net
Fri Jan 11 13:36:43 CET 2013

If it's possible to figure out programmatically what parameters are in
their default settings and what have been modified, then upon updating a
node type definition you could leave any modified parameters as-is and
update parameters that were previously at the default, to the new default.
Houdini acts like this, and it works pretty well.

On Fri, Jan 11, 2013 at 11:26 PM, Lukas Tönne <lukas.toenne at gmail.com>wrote:

> > But how about adding an explicit "reset to defaults" button? That way
> > one could quickly test the OSL parameter defaults without destroying a
> > carefully set up scene.
> One more thought: In the long run the OSL parameter defaults should be
> translated to RNA property defaults (that currently does not work due
> to the generic socket properties). When that is implemented the "reset
> to defaults" button could be a general feature for all nodes, just as
> a shortcut so users don't have to reset each socket value
> individually.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.blender.org/pipermail/bf-cycles/attachments/20130111/9af0fde8/attachment.htm 

More information about the Bf-cycles mailing list