I noticed the following strange (and annoying) behaviour for jit.gl.picking, when using it without depth_enable but using layers.
The first thing is that display order of overlapping shapes located at same z-distance gets reversed when switching from @depth_enable 0 to 1.
Then jit.gl.picking behaves fine with @depth_enable 1, but do not match shapes' boundaries anymore when using @depth_enable 0,
which basically makes it unusable.
It is not so easy to explain with words, but I guess the patcher below makes the issue more explicit.
FWIW, it is happening here with Max7.0.6 on macbook pro early 2011, OSX 10.10.5 retina.
Maybe I missed something here... if anyone has a solution or explanation for this (seemingly buggy) behaviour, I'm interested to know!
I can see a workaround using @depth_enable and @ortho 1 on jit.gl.render but I still hope for something less ugly...