Hi Again,
So, for all you regulars out there, I'm sure you're getting tired of my questions. I'm in the thick of development with AE plugs, so I'll probably be here more often than you'd like!
I'm having trouble understanding why I'm getting a parameter count mismatch error when I group some parameters with PF_ADD_TOPIC().
Here is the enum I have in my .h file:
enum { MY_TOPIC_LAYER_START, MY_ENABLE_LAYER, MY_FORM, MY_TOPIC_LAYER_END, MY_NUM_PARAMS };
Here is the code I have in my ParamsSetup():
{ PF_Err err = PF_Err_NONE; PF_ParamDef def; AEFX_CLR_STRUCT(def); PF_ADD_TOPIC("Options", MY_TOPIC_LAYER_START); AEFX_CLR_STRUCT(def); PF_ADD_CHECKBOXX("Enable Layer", true, PF_ParamFlag_CANNOT_TIME_VARY, MY_ENABLE_LAYER); AEFX_CLR_STRUCT(def); PF_ADD_LAYER("Form Group", 0, MY_FORM); AEFX_CLR_STRUCT(def); PF_END_TOPIC(MY_TOPIC_LAYER_END); printf("\nMy Plugin has %d parameters",MY_NUM_PARAMS); out_data->num_params = MY_NUM_PARAMS; return err; }
So, why am I getting a parameter count mis-match error? What do I need to change?
Thanks!