|
|
@ -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)
|
|
|
|
{
|
|
|
|
{
|
|
|
|