Planet
navi homePPSaboutscreenshotsdownloaddevelopmentforum

Ignore:
Timestamp:
Apr 20, 2011, 12:29:08 AM (14 years ago)
Author:
rgrieder
Message:

Load Ogre plugins and Orxonox modules with the same path composition.
This should load Ogre plugins again on Linux.

Location:
code/branches/kicklib/src/libraries/core
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • code/branches/kicklib/src/libraries/core/GraphicsManager.cc

    r8271 r8272  
    260260        SubString plugins(ogrePlugins_, ",", " ", false, '\\', false, '"', false, '{', '}', false, '\0');
    261261        for (unsigned int i = 0; i < plugins.size(); ++i)
    262             ogreRoot_->loadPlugin(plugins[i]);
     262            ogreRoot_->loadPlugin(pluginPath + '/' + plugins[i]);
    263263    }
    264264
  • code/branches/kicklib/src/libraries/core/PathConfig.cc

    r8271 r8272  
    288288                    // We've found a helper file
    289289                    const std::string& library = filename.substr(0, filename.size() - moduleextensionlength);
    290                     modulePaths.push_back((modulePath_ / library).BF_NATIVE_STRING());
     290                    modulePaths.push_back(getModulePathString() + library);
    291291                }
    292292            }
Note: See TracChangeset for help on using the changeset viewer.