Re: reset all controls and custom data
Re: reset all controls and custom data
- Subject: Re: reset all controls and custom data
- From: Darrin Cardani <email@hidden>
- Date: Tue, 29 Jan 2008 10:24:50 -0800
On Jan 28, 2008, at 5:04 PM, Micah Sharp wrote: Hi guys, we are noticing our plugins that use custom data/controls are resetting correctly when hitting reset in FCP, but not in Motion. The only difference I can see is that in FCP only encodeWithCoder is called upon hitting the reset button, where in Motion both encodeWithCoder and initWithCoder are called. The SimpleMatte example shows the problem perfectly.
It seems to work for all other controls without any problems. Any hints about how to make it work are appreciated.
Micah, I'm seeing something different than you. In Motion 3.0.2, when I click on the reset button in the Filters tab in the Inspector window, Simple Matte's -encodeWithCoder gets called twice. I'm not seeing -initWithCoder getting called again. Can you describe the steps you're going through to reset the filter?
|
_______________________________________________
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