GetSlice (Node) very slow when receiving nil input

Hello,

when I use GetSlice (Node) and send a nil as input, it suddenly becomes very slow.

If the input is Nil it should not execute anyway no?
See screenshot as example, takes 15ms to process here.

Thanks

Vux

GetSliceBug_2010.05.24-14.19.53.jpg (22.5 kB)

hi vux,

sorry. i can’t reproce it on my machine.
i used createbody and createdistancejoint from the last addonpack.

what else should i try?

Hello greg,

will try on a few different machines and see if I get the same.

I use the lastest addonpack version as well.

There’s a workaround to avoid that, which is sending a nil to the slice index when the input count is 0. Not really clean, but does the job and can live with that in the meantime :)

Thanks, will keep you posted.