Removed old comment. Changed to set resources path correctly.

actorid
Marek Kochanowicz 11 years ago
parent b138533bf3
commit b23df42817

@ -89,8 +89,7 @@ void CS::Editor::setupDataFiles()
dataDirs.insert (dataDirs.end(), dataLocal.begin(), dataLocal.end()); dataDirs.insert (dataDirs.end(), dataLocal.begin(), dataLocal.end());
// Adding Resources directory. First check if there is a file defaultfilters in the user path. mDocumentManager.setResourceDir(mCfgMgr.getGlobalDataPath());
mDocumentManager.setResourceDir(variables["resources"].as<std::string>());
for (Files::PathContainer::const_iterator iter = dataDirs.begin(); iter != dataDirs.end(); ++iter) for (Files::PathContainer::const_iterator iter = dataDirs.begin(); iter != dataDirs.end(); ++iter)
{ {

Loading…
Cancel
Save