I have not used the chunk system before. I have overloaded onGetChunkLen, onGetChunk and onSetChunk, and onGetChunkLen returns the size in bytes. On closing the onGetChunk is called, and I save the workspace. But for some reason when reloading, onSetChunk is never called.
Is there a trick to get it working ?
Last edited by sm_jamieson (2018-02-18 09:39:36)
mm strange, not that i remember. didn't trace but i get datas backs so its working here. maybe redrop a new module in fresh empty workspace when they have been implemented
After dropping it again on an empty patch, it seems to be working. However I really need the chunk before Usine queries the parameters so I'm working on another way of saving the module config ...
I have put in a suggestion for a fast chunk access controlled by a flag.