Ok, thanks!
That would mean, the siOnObjectRemoved() event would have to traverse
the scene, find all of those custom operators and delete them, right?
Of course the operator will eventually notice that it's inputs are
missing, but only in it's update callback via GetNumInstancesInGroup(),
but what then?
It cannot set it's own parameters or delete itself, can it.
Am 22.03.2013 11:17, schrieb Luc-Eric Rousseau:
imho if you had that callback, it wouldn't be very solid if you
implemented it only when the property page is up.
I think you'll see the deletion in the siOnObjectRemoved event
On Fri, Mar 22, 2013 at 6:01 AM, Eugen Sares <[email protected]> wrote:
Hi,
got a custom operator that has some object(s) connected via input port
group.
How does the operator's PPG get notified when input objects get deleted? I
like to take appropriate steps then like freezing the operator.
Is there "NumInstancesInGroup_OnChanged()" or something? Wait, can't be,
since input ports are not parameters.
Cheers,
Eugen