Python Node - On Parameter makes updates

THE POST BELOW IS MORE THAN 5 YEARS OLD. RELATED SUPPORT INFORMATION MIGHT BE OUTDATED OR DEPRECATED

On 27/06/2011 at 13:16, xxxxxxxx wrote:

Hi,

I think this is a bug, but it is very useful.
If the parameter On is give to a Python Node, the Node updates every frame.

Check this code on a Pythonnode with and without this parameter.

def main() :  
  print "I'm main"  
  
print "I'm outside."

Is this the way it is supposed to be handled ?

Cheers,
Niklas

THE POST BELOW IS MORE THAN 5 YEARS OLD. RELATED SUPPORT INFORMATION MIGHT BE OUTDATED OR DEPRECATED

On 27/06/2011 at 19:06, xxxxxxxx wrote:

and it only updates the node? i could see this being way more useful than the AddEvent(). Assuming this is actually stable.