* Melchior FRANZ -- Saturday 04 April 2009: > Of course, triggering the parent > would have to be done manually in the property browser or via > telnet, but that's certainly not the main use case and is IMHO > acceptable.
It's also easy to support from Nasal, in form of a new props.Node method: props.Node.setColorValues = func(r, g, b, a = 1) { me.setValues({ r: r, g: g, b: b, a: a }); # set colors me.setBoolValue(1); # trigger "valid" } Example: props.globals.getNode("some/color", 1).setColorValues(1, 0.5, 0); That's not the fastest way to write it, but good for showing off. ;-) m. ------------------------------------------------------------------------------ _______________________________________________ Flightgear-devel mailing list Flightgear-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/flightgear-devel