]> git.mxchange.org Git - flightgear.git/commit
revert meaning of third, optional argument, and add an optional fourth
authormfranz <mfranz>
Sun, 14 Oct 2007 18:01:26 +0000 (18:01 +0000)
committermfranz <mfranz>
Sun, 14 Oct 2007 18:01:26 +0000 (18:01 +0000)
commit02a813abdee4dfb18832aeffb43d3574845d825d
treed912fa2ed7fbd6ace60827be972cec24624e43ee
parentb90c95269fa98db9f28ba2df42ac2f2ce8f41a0d
revert meaning of third, optional argument, and add an optional fourth
argument:

  setlistener(<property>, <func> [, <initial=0> [, <persistent=1>]])

This definition defaults to the old behavior. The fourth argument can
be set to zero, in which case the function is only called when the
node value has actually changed. It should really default to zero, but
then all callers would have to be reviewed, which is a bit too dangerous
"shortly" before a release.
src/Scripting/NasalSys.cxx
src/Scripting/NasalSys.hxx