custom property parameter OnChanged callbacks 2005-06-19 - By Aloys Baillet
Back Hi Ben,
I was able to repro your problem in Python and in JScript... I was not aware of this problem, and I spoke with Olivier Ozoux and Eoin Murphy: it's a bug! It has already been logged but it's not likely to be resolved soon... I was quite disapointed to see this, and I will have to change some of my plugins... It seems that the only solution to this problem is to double the number of parameters of the PPG (or at least double the parameters that have an OnChanged callback) and to check if the parameter value is different from its tween value in all the callbacks! Heavy stuff! Please Softimage!
Aloys
On 6/19/05, benp <benp@(protected)> wrote: > > actually, could someone try this for me? > > -load the self installing plugin attatched (after renaming it to > updateTest_plug.pys) > -run in the script editor: (in python) > Application.ActiveSceneRoot.AddProperty('updateTester') > > -inspect the updateTester PPG, and step forward through time. > -logged in the script editor, do you get something like: > "updateTester :: X_OnChanged :: 0.0" > every time you advance a frame? > > > ? > cheers > benp > > >
-- Aloys Baillet - XSI Technical Director Character Dpt - Animal Logic --
Hi Ben,<br> <br>I was able to repro your problem in Python and in JScript...<br> I was not aware of this problem, and I spoke with Olivier Ozoux and Eoin Murphy: it's a bug! It has already been logged but it's not likely to be resolved soon...<br> I was quite disapointed to see this, and I will have to change some of my plugins...<br> It seems that the only solution to this problem is to double the number of parameters of the PPG (or at least double the parameters that have an OnChanged callback) and to check if the parameter value is different from its tween value in all the callbacks! Heavy stuff!<br> Please Softimage!<br> <br> Aloys<br><br><div><span class="gmail_quote">On 6/19/05, <b class="gmail _sendername">benp</b> <<a href="mailto:benp@(protected)">benp@(protected)</a> > wrote: </span><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">actually, could someone try this for me?<br><br>-load the self installing plugin attatched (after renaming it to <br>updateTest_plug.pys)<br>-run in the script editor: (in python)<br >Application.ActiveSceneRoot.AddProperty('updateTester')<br><br>-inspect the updateTester PPG, and step forward through time.<br>-logged in the script editor, do you get something like: <br>"updateTester :: X_OnChanged :: 0.0"<br>every time you advance a frame?<br><br><br>?<br>cheers<br>benp<br><br><br></blockquote></div><br><br><br >-- <br>Aloys Baillet - XSI Technical Director<br>Character Dpt - Animal Logic <br>--
|
|