FC and problems getting/setting point parameter values
FC and problems getting/setting point parameter values
- Subject: FC and problems getting/setting point parameter values
- From: Steve Christensen <email@hidden>
- Date: Wed, 27 Feb 2008 17:08:16 -0800
I have a plugin that has a popup parameter to specify presets. When
the user changes the value, the plugin sets the values of a number of
other parameters based on a set of values associated with the
particular preset. What I'm finding is that with a point parameter,
the x- and y-value are not always updated correctly, but only in FCP/
FCE, not Motion. Also, other types of parameters seem to behave
correctly in all three applications.
All of the parameters are added with flags set to
kFxParameterFlag_NOT_ANIMATABLE, so the values should be constant
across an entire timeframe of the effect.
Hoping to narrow down the problem, I wrote a small test generator
plugin that just has a popup parameter and a point parameter. I
dumped out the values in -parameterChanged: and -renderOutput: and
found that the values had changed along the way. I also noticed that
the UI was not reflecting the updated values either, in this case.
Final Cut Express[6339] ### parameterChanged @ 0.000000: x was
0.500000, should be 1.000000, is 1.000000
Final Cut Express[6339] ### parameterChanged @ 0.000000: y was
0.500000, should be 0.500000, is 0.500000
Final Cut Express[6339] -----------------
Final Cut Express[6339] ### renderOutput @ 0.000000: x should be
1.000000, is 0.000000
Final Cut Express[6339] ### renderOutput @ 0.000000: y should be
0.500000, is 0.500000
I can accept that I'm doing something weird, but I don't know where
to look. Does anybody have some ideas?
steve
_______________________________________________
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