Re: FxPlug 2.0
Re: FxPlug 2.0
- Subject: Re: FxPlug 2.0
- From: Darrin Cardani <email@hidden>
- Date: Fri, 2 Sep 2011 09:37:38 -0700
On Sep 2, 2011, at 2:04 AM, ganga wrote:
> Hi All ,
> I'm working on plug-in for motion5,which is based on FXplug framework. I added a colour parameter in addParameter function and tried to set the colour for the same color parameter using the following code when ever there is change in the custom UI parameters.
>
> 1. id parmsApi;
>
> 2. parmsApi = [apiManager apiForProtocol:@protocol(FxParameterSettingAPI)];
>
> 3. [parmsApi setRedValue:(some float value) greenValue:(some float value) blueValue:(some float value) toParm:kRedColourParmId atTime:0 ];
>
>
> It is crashing in the line 3 .This started after i replaced FxPlug framework with 2.0 version earlier it was working properly.I'm using mac OS X 10.6.5 version,please let me know the problem.
Ganga,
I'm a little confused by what your setup is. If you were using FxPlug.framework version 1.2.5 (or earlier), and your plugin was working, then you were running in Motion 4 (or earlier). If you switch the framework to version 2.0, then you're building 64-bit and your plug-in won't show up in Motion 4. (Or possibly it will show up but be unusable.) Are you testing in both Motion 4 and 5?
Are the above lines of code in your -parameterChanged: method? If so, you should call [id<FxCustomParameterActionAPI> currentTime] to get the current time rather than passing 0. If your plug-in isn't the first thing in the timeline, then time 0 is incorrect.
If you could clarify a little, that would help enormously.
Also, if you don't get this on Friday, note that our offices are closed on Monday for the Labor Day holiday, so we may not respond immediately.
Thanks,
Darrin
--
Darrin Cardani
email@hidden
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Pro-apps-dev mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden
References: | |
| >FxPlug 2.0 (From: ganga <email@hidden>) |