aboutsummaryrefslogtreecommitdiffstatshomepage
diff options
context:
space:
mode:
-rw-r--r--linden/indra/newview/llfloaterregioninfo.cpp13
-rw-r--r--linden/indra/newview/llviewerregion.cpp2
2 files changed, 11 insertions, 4 deletions
diff --git a/linden/indra/newview/llfloaterregioninfo.cpp b/linden/indra/newview/llfloaterregioninfo.cpp
index c7f1c38..aca8db7 100644
--- a/linden/indra/newview/llfloaterregioninfo.cpp
+++ b/linden/indra/newview/llfloaterregioninfo.cpp
@@ -182,10 +182,15 @@ BOOL LLFloaterRegionInfo::postBuild()
182 LLUICtrlFactory::getInstance()->buildPanel(panel, "panel_region_general.xml"); 182 LLUICtrlFactory::getInstance()->buildPanel(panel, "panel_region_general.xml");
183 mTab->addTabPanel(panel, panel->getLabel(), TRUE); 183 mTab->addTabPanel(panel, panel->getLabel(), TRUE);
184 184
185 panel = new LLPanelRegionOpenSettingsInfo; 185 // We only use this panel on Aurora-based sims -- MC
186 mInfoPanels.push_back(panel); 186 std::string url = gAgent.getRegion()->getCapability("OpenRegionSettings");
187 LLUICtrlFactory::getInstance()->buildPanel(panel, "panel_region_open_region_settings.xml"); 187 if (!url.empty())
188 mTab->addTabPanel(panel, panel->getLabel(), FALSE); 188 {
189 panel = new LLPanelRegionOpenSettingsInfo;
190 mInfoPanels.push_back(panel);
191 LLUICtrlFactory::getInstance()->buildPanel(panel, "panel_region_open_region_settings.xml");
192 mTab->addTabPanel(panel, panel->getLabel(), FALSE);
193 }
189 194
190 panel = new LLPanelRegionDebugInfo; 195 panel = new LLPanelRegionDebugInfo;
191 mInfoPanels.push_back(panel); 196 mInfoPanels.push_back(panel);
diff --git a/linden/indra/newview/llviewerregion.cpp b/linden/indra/newview/llviewerregion.cpp
index b63914c..cf2e3a4 100644
--- a/linden/indra/newview/llviewerregion.cpp
+++ b/linden/indra/newview/llviewerregion.cpp
@@ -1436,6 +1436,8 @@ void LLViewerRegion::setSeedCapability(const std::string& url)
1436 capabilityNames.append("MapLayer"); 1436 capabilityNames.append("MapLayer");
1437 capabilityNames.append("MapLayerGod"); 1437 capabilityNames.append("MapLayerGod");
1438 capabilityNames.append("NewFileAgentInventory"); 1438 capabilityNames.append("NewFileAgentInventory");
1439 // Aurora settings -- MC
1440 capabilityNames.append("OpenRegionSettings");
1439 capabilityNames.append("ParcelPropertiesUpdate"); 1441 capabilityNames.append("ParcelPropertiesUpdate");
1440 capabilityNames.append("ParcelVoiceInfoRequest"); 1442 capabilityNames.append("ParcelVoiceInfoRequest");
1441 capabilityNames.append("ProductInfoRequest"); 1443 capabilityNames.append("ProductInfoRequest");