Hello everyone,
I'm having trouble using the addInputPortWithType method inside the execute function of my QCPlugIn.
I'm making a plugin that needs to dynamically adapt the number of image and color input ports depending on the data it loads from a file. I've added a conditional loop to my plugin's execute function, but as soon a it's supposed to add a port, Quartz Composer throws an exception:
Error -[GLModelLoaderPlugIn addInputPortWithType:forKey:withAttributes:]: Inconsistent state.
I have the feeling I'm not supposed to be adding ports while rendering, but if that's so, how does one go about doing this sort of thing?
Regards,
Julien
_______________________________________________