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


 _______________________________________________
Do not post admin requests to the list. They will be ignored.
Quartzcomposer-dev mailing list      ([email protected])
Help/Unsubscribe/Update your Subscription:
http://lists.apple.com/mailman/options/quartzcomposer-dev/archive%40mail-archive.com

This email sent to [EMAIL PROTECTED]

Reply via email to