custom property parameter OnChanged callbacks 2005-06-19 - By benp
Back hello list, I'm having trouble with the _OnChanged callbacks for parameters in a self-installed property.
Is it true that all _OnChanged callbacks are triggered for a property on a frame change, if it is currenly being inspected?
I have a callback that does some parameter plotting triggered by a parameter_OnChanged callback, which all works fine and dandy if i'm not stepping through frames, or if the custom PPG is not currently being inspected. The trouble is when I have the PPG inspected and step through frames, it will call *every* parameter _OnChanged callback even though the parameters are *not* being changed. This means i get the plotting to run on every frame step! Tedious. I will probably have to change my logic, attatching the plotting process to a button's _OnClicked event, which isn't so bad, as _OnClicked events don't seem to be called until being explicitly triggered *only* by a button click. I just expected that a frame change would not nessessarily trigger all of my _OnChanged callbacks.
I have also verified that it isn't something weird i'm doing in this particular plugin. I have made a simple custom property plug that behaves the same way.
I have been writing self installing plugis for a while now, but this has supprised me! Any hints or slaps around the head would be appreciated. cheers benp --- Unsubscribe? Mail Majordomo@(protected) with the following text in body: unsubscribe xsi
|
|