All,
I am trying to configure a QCCompositionParameterView via the pickerView
selection delegate method:

CGColorSpaceRef colorspace;

 @try {

/* Create a processing-only QCRenderer that wraps the selected composition
if any - We use the main display colorspace as we render on screen */

[_renderer release];

if(composition) {

colorspace = CGColorSpaceCreateWithName(kCGColorSpaceGenericRGB);

_renderer = [[QCRenderer alloc] initWithComposition:composition colorSpace
:colorspace];

if(_renderer == nil) {

NSLog(@"Cannot create QCRenderer");

[NSApp terminate:nil];

}

}

else

_renderer = nil;

 /* Make sure the QCCompositionParameterView targets the QCRenderer */

[parameterView setCompositionRenderer:_renderer];

This fails with the following error

Exception when loading parameter view: -[QCRenderer
initWithComposition:colorSpace:]: Inconsistent state

Any thougths?

Ben
 _______________________________________________
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