FIXED:[Win10 64; 099 14650] CHOPExecute with ParameterCHOP

Hey guys!

Thanks again for the fix about CHOPExecute executed twice!
[url]FIXED: [Win10 64; 099 27910] CHOPExecute - Executed twice - Bugs - TouchDesigner forum

This might not be related to that fix but, I’ve downloaded the latest version and when I run a script in a CHOPExecute DAT via a ParameterCHOP, the script will be executed once. The ParameterCHOP registers my clicks but the script will only run the first time.

drive.google.com/file/d/13cvkEV … sp=sharing

At first, I thought the problem was that I was trying to retrieve the number of frames of a MoviefileinTOP in the same script that preloads it, but after some tests, I’ve discovered that the CHOPExecuteDAT was not executed.

The CHOPExecuteDAT will run once if another operator cooks it or if I cook it manually ( right click → force cook ) before triggering it with the ParameterCHOP.

The way I found to make it work is to add a NullCHOP after the ParameterCHOP with his Cook Type set to Always

I’ve linked the file I use in the video and the other one is an even simpler patch.

Thanks!
CHOPExecute-ParamCHOP_SetCountLimit.toe (4.8 KB)
CHOPExecute-ParamCHOP_Bug_Simplified.toe (4.43 KB)

Thanks for the report and the simplified example! Looking into it.

These cases will be fixed in 2019.15090+

New build now available - 2019.15230

Amazing! Thanks a lot for the quick support :smiley: