diff options
Diffstat (limited to 'linden/indra/newview/hippogridmanager.cpp')
-rw-r--r-- | linden/indra/newview/hippogridmanager.cpp | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/linden/indra/newview/hippogridmanager.cpp b/linden/indra/newview/hippogridmanager.cpp index d56214c..5e13ed8 100644 --- a/linden/indra/newview/hippogridmanager.cpp +++ b/linden/indra/newview/hippogridmanager.cpp | |||
@@ -752,6 +752,8 @@ void HippoGridManager::deleteGrid(const std::string& grid) | |||
752 | 752 | ||
753 | void HippoGridManager::setDefaultGrid(const std::string& grid) | 753 | void HippoGridManager::setDefaultGrid(const std::string& grid) |
754 | { | 754 | { |
755 | return; | ||
756 | /* Prevent setting the default grid to anything but meta7 (except by editing the settings file). | ||
755 | GridIterator it = mGridInfo.find(grid); | 757 | GridIterator it = mGridInfo.find(grid); |
756 | if (it != mGridInfo.end()) | 758 | if (it != mGridInfo.end()) |
757 | { | 759 | { |
@@ -769,6 +771,7 @@ void HippoGridManager::setDefaultGrid(const std::string& grid) | |||
769 | { | 771 | { |
770 | mDefaultGrid = ""; | 772 | mDefaultGrid = ""; |
771 | } | 773 | } |
774 | */ | ||
772 | } | 775 | } |
773 | 776 | ||
774 | 777 | ||