MousePicking on SharedMesh

I just moved from cloned meshes to SharedMeshes, seems everything still works excepting my mousepicking.

Couldn't find any help on this on the forum but found why it was broken.

Rather simple: just call updateModelBound() before calling findTrianglePick(…)

It works when I add a SharedMesh to the scenegraph but once I add a second SharedMesh or more from the same TargetMesh, I don't get any result by mousepicking.

I checked model bounds and seems to be ok.



Also, the mousepicking works most likely at the intersection of the SharedMeshes.



I really don't see what I am doing wrong. Please, help me if you have an idea  :cry:



Thanks a lot !