Add Aurora to the grid info platform list. Attempt to stop sending "resident" as the last name, except with Second Life.

This commit is contained in:
RevolutionSmythe
2011-08-14 17:24:09 -05:00
committed by Siana Gearz
parent 3fa0ef5129
commit d84140ead9
4 changed files with 13 additions and 4 deletions

View File

@@ -196,7 +196,11 @@ void HippoGridInfo::setPlatform(const std::string& platform)
for (unsigned i=0; i<platform.size(); i++)
tmp[i] = tolower(tmp[i]);
if (tmp == "opensim")
if (tmp == "aurora")
{
setPlatform(PLATFORM_AURORA);
}
else if (tmp == "opensim")
{
setPlatform(PLATFORM_OPENSIM);
}
@@ -555,7 +559,7 @@ const char* HippoGridInfo::getPlatformString(Platform platform)
{
static const char* platformStrings[PLATFORM_LAST] =
{
"Other", "OpenSim", "SecondLife"
"Other", "Aurora", "OpenSim", "SecondLife"
};
if ((platform < PLATFORM_OTHER) || (platform >= PLATFORM_LAST))