From 96d2444a3df28cb8655d823bb8c581e2cf77a84d Mon Sep 17 00:00:00 2001 From: Rhys Mainwaring Date: Fri, 3 Sep 2021 20:34:36 +0100 Subject: [PATCH] [macOS] remove additional plugin path for macOS - Remove additional plugin path for macOS. Signed-off-by: Rhys Mainwaring --- ogre2/src/Ogre2RenderEngine.cc | 6 ------ 1 file changed, 6 deletions(-) diff --git a/ogre2/src/Ogre2RenderEngine.cc b/ogre2/src/Ogre2RenderEngine.cc index 37ff10b30..32225c31f 100644 --- a/ogre2/src/Ogre2RenderEngine.cc +++ b/ogre2/src/Ogre2RenderEngine.cc @@ -86,12 +86,6 @@ Ogre2RenderEngine::Ogre2RenderEngine() : const char *env = std::getenv("OGRE2_RESOURCE_PATH"); if (env) this->ogrePaths.push_back(std::string(env)); - -#ifdef __APPLE__ - // on OSX the plugins may be placed in the parent lib directory -// if (ogrePath.rfind("OGRE") == ogrePath.size()-4u) -// this->ogrePaths.push_back(ogrePath.substr(0, ogrePath.size()-5)); -#endif } //////////////////////////////////////////////////