From 69e7438ae2017c0a73ff71be237c8a8a338344d4 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 } //////////////////////////////////////////////////