Exclude local grid file variable declaration if SINGLEGRID is defined

master
Ansariel 2018-09-30 21:32:55 +02:00
parent f4c2ed2103
commit 5fdcea0963
1 changed files with 1 additions and 1 deletions

View File

@ -179,8 +179,8 @@ void LLGridManager::initGrids()
{
mGridList = LLSD();
std::string grid_file = gDirUtilp->getExpandedFilename(LL_PATH_APP_SETTINGS, "grids.xml");
#ifndef SINGLEGRID
std::string grid_file = gDirUtilp->getExpandedFilename(LL_PATH_APP_SETTINGS, "grids.xml");
std::string grid_user_file = gDirUtilp->getExpandedFilename(LL_PATH_USER_SETTINGS, "grids.user.xml");
std::string grid_remote_file = gDirUtilp->getExpandedFilename(LL_PATH_USER_SETTINGS, "grids.remote.xml");