Re: Custom UI parameter in FxGenerator
Re: Custom UI parameter in FxGenerator
- Subject: Re: Custom UI parameter in FxGenerator
- From: Kristian Harms <email@hidden>
- Date: Tue, 21 Oct 2008 15:23:07 +0200
Hi Quincey,
We're in much the same situation with a custom view parameter in an
FxGenerator. I wasn't aware that it worked in filters, but to prevent
the parameter from appearing in the HUD, you can add the
kFxParameterFlag_DONT_DISPLAY_IN_DASHBOARD flag to the parameter when
you add it.
Regards, Kristian Harms
Den 21. okt.. 2008 kl. 06.55 skrev Quincey Morris:
I've tried to add a custom UI parameter to a generator plug-in. The
associated custom view simply contains a button.
In FCP, the view shows up in the Controls tab of the Viewer. In
Motion, the view shows up in the Inspector, but in the HUD for the
plug-in the parameter shows as a (malfunctioning) slider instead.
If I replace my custom UI parameter setup with the code from the
Options Dialog FxPlug example, I get the same results, with the slider
in the HUD.
The Options Dialog example itself works, but it's a filter, not a
generator. I tried writing a filter with the custom UI parameter setup
from my generator, and it works correctly in the HUD display.
I can't think of any other differences, so I'm wondering if this is a
bug in generators only. Does anyone know anything about this, or can
anyone suggest some further testing to find out why the view is not
displaying in the HUD?
BTW, in Motion 'createViewForParm:' isn't being called for the HUD.
It's called for the first time when it's needed for the inspector. In
FCP, it's called once during startup, and then again when it's needed
for the Controls tab.
_______________________________________________
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
_______________________________________________
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