Hi guys, is the first time I'm posting in this group, but I've been a long time follower.
Scenario:
I'm scripting a custom plugin node that checks the value of an input.
If the input value is major than a "limit value" attribute in the custom node, it then prints a warning to the console.
In order to print to the console from inside the compute() method I'm using a standard print() function.
Problem:
The node is working correctly, but during playback and timeline scrubbing the warning are printed all at the same time, at the end "on release" of the mouse click.
I'd like the node to print the warning messages every time it evaluates rather than at the end.
Scenario that happens only on timeline scrubbing and playback.
I've been searching around and the 2 possible solution I've found so far are:
1 - scriptjob on "timeChanged"
2 - expression node, to print every frame
Both the solutions seems to me patchy workarounds rather than solid answers.
Simo.