ok, found a solution, just not sure it's how it "should" be done..
I added the auxiliary code using a concat string method... so now it's
out of the update function..
Oz Adi wrote:
Hi,
I am trying to apply a scripted op from a script.
The problem is that the **original** scripted operator, has also some
code in the "Auxiliary Editing Pane",
and when applying the scripted op using AddScripedOp, it places the
main code as a function in the "Auxiliary Editing Pane", and adds
a line to call it from the "Main Editing Pane", so XSI evaluates it,
every frame.
What I cant figure out, is how to add also the code that was originaly
in the "Auxiliary Editing Pane", and that should
be executed only one, when the scop is applied?
I can add this code to the main code String, before applying the scop,
but then wouldnt it be executed each frame
along with main code?
sorry if it's a stupid question :)
cheers,
Oz
---
Unsubscribe? Mail Majordomo(at)Softimage.COM with the following text in
body:
unsubscribe xsi
---
Unsubscribe? Mail Majordomo(at)Softimage.COM with the following text in body:
unsubscribe xsi