Message 1 of 1
Accessor Set function not called in Track View

Not applicable
05-09-2009
11:21 PM
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report
Hello,
I have a paramblock2 with an accessor defined with both Set and Get functions.
Placing a breakpoint in both these functions I can see that only the Get function is called when I manipulate the data in the paramblock from the Track View - Curve Editor.
I also have a custom UI for the same paramblock in the material editor and when changing the data there, both Set and Get functions get called correctly.
Interestingly, if I change the data in the Track View editor by dragging it around, I can see the numbers changing in the material UI in real time, so the paramblock is definitely being changed, but somehow the Set function is not being called.
Is this a problem in the Track Editor? Or is there something else I need to do to get this to work?
Any help appreciated.
Paulo
I have a paramblock2 with an accessor defined with both Set and Get functions.
Placing a breakpoint in both these functions I can see that only the Get function is called when I manipulate the data in the paramblock from the Track View - Curve Editor.
I also have a custom UI for the same paramblock in the material editor and when changing the data there, both Set and Get functions get called correctly.
Interestingly, if I change the data in the Track View editor by dragging it around, I can see the numbers changing in the material UI in real time, so the paramblock is definitely being changed, but somehow the Set function is not being called.
Is this a problem in the Track Editor? Or is there something else I need to do to get this to work?
Any help appreciated.
Paulo