I guess the ModifyCurrentPreset() call in this method of MultiSliderControlV causes the serialize function to be called :
Code:
void OnMouseUp(int x, int y, IMouseMod* pMod)
{
//TODO: check this isn't going to cause problems... this will happen from the gui thread
mPlug->ModifyCurrentPreset();
mPlug->DirtyPTCompareState();
}
Also in resource.h there is : #define PLUG_DOES_STATE_CHUNKS 1