Make finding resource path more accurate.
Make finding resource path more accurate.

The old way would fail if there is a mesh name,
which is a substring of another mesh name.

RealityFactory/ogre,OGRECave/ogre,paroj/ogre,RealityFactory/ogre,RealityFactory/ogre,paroj/ogre,OGRECave/ogre,RealityFactory/ogre,OGRECave/ogre,paroj/ogre,RealityFactory/ogre,OGRECave/ogre,paroj/ogre,paroj/ogre,OGRECave/ogre