Add protection for infinity recursion.
Add protection for infinity recursion.

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