LithLoren
June 27, 2018 21:17:00
Is it possible to cancel a Node Cook?
What’s the expected behavior if I start cook, then change a property on the object. Can/should I kick another cook before the first cook has finished?
dpernuit
June 28, 2018 13:51:08
Hi,
There is currently no way to cancel a cook. Depending on if your using threaded mode, that cook might be asynchronous, and its always best to wait for it to finish by checking HAPI_GetStatus() before firing another one.
If a property has changed while waiting for that cook to finish, you probably want to keep track of that change( by marking that property/the asset as dirty in your code), then fire another cook once the current one has finished, with the current state of that parameter.