From b73ad517841cb428a395a6f49376d3bdc8e50f7e Mon Sep 17 00:00:00 2001 From: Leyla Farazha Date: Tue, 8 Apr 2008 21:04:41 +0000 Subject: svn merge -r84080:84255 svn+ssh://svn/svn/linden/branches/intermezzo-9 QAR-431 --- indra/lib/python/indra/ipc/llsdhttp.py | 2 +- indra/llcommon/lllivefile.h | 2 ++ indra/llmessage/llregionhandle.h | 2 +- indra/newview/llfloaterregioninfo.cpp | 3 +++ 4 files changed, 7 insertions(+), 2 deletions(-) (limited to 'indra') diff --git a/indra/lib/python/indra/ipc/llsdhttp.py b/indra/lib/python/indra/ipc/llsdhttp.py index eb9247da93..0561cfd520 100644 --- a/indra/lib/python/indra/ipc/llsdhttp.py +++ b/indra/lib/python/indra/ipc/llsdhttp.py @@ -34,7 +34,7 @@ from indra.base import llsd from eventlet import httpc -suite = httpc.HttpSuite(llsd.format_xml, llsd.parse, 'application/xml+llsd') +suite = httpc.HttpSuite(llsd.format_xml, llsd.parse, 'application/llsd+xml') delete = suite.delete delete_ = suite.delete_ get = suite.get diff --git a/indra/llcommon/lllivefile.h b/indra/llcommon/lllivefile.h index 689590e324..7e24744491 100644 --- a/indra/llcommon/lllivefile.h +++ b/indra/llcommon/lllivefile.h @@ -32,6 +32,8 @@ #ifndef LL_LLLIVEFILE_H #define LL_LLLIVEFILE_H +const F32 configFileRefreshRate = 5.0; // seconds + class LLLiveFile { diff --git a/indra/llmessage/llregionhandle.h b/indra/llmessage/llregionhandle.h index d9fcd82936..c1f0dec74e 100644 --- a/indra/llmessage/llregionhandle.h +++ b/indra/llmessage/llregionhandle.h @@ -115,7 +115,7 @@ inline LLVector3d from_region_handle(const U64 ®ion_handle) // grid-based region handle encoding. pass in a grid position // (eg: 1000,1000) and this will return the region handle. -inline U64 grid_to_region_handle(U32 grid_x, U32 grid_y) +inline U64 grid_to_region_handle(const U32 grid_x, const U32 grid_y) { return to_region_handle(grid_x * REGION_WIDTH_UNITS, grid_y * REGION_WIDTH_UNITS); diff --git a/indra/newview/llfloaterregioninfo.cpp b/indra/newview/llfloaterregioninfo.cpp index fa9c9c9374..9ff5739255 100644 --- a/indra/newview/llfloaterregioninfo.cpp +++ b/indra/newview/llfloaterregioninfo.cpp @@ -80,6 +80,8 @@ const S32 TERRAIN_TEXTURE_COUNT = 4; const S32 CORNER_COUNT = 4; +extern LLString gLastVersionChannel; + ///---------------------------------------------------------------------------- /// Local class declaration @@ -317,6 +319,7 @@ void LLFloaterRegionInfo::processRegionInfo(LLMessageSystem* msg) // GENERAL PANEL panel = tab->getChild("General"); panel->childSetValue("region_text", LLSD(sim_name)); + panel->childSetValue("version_channel_text", gLastVersionChannel); panel->childSetValue("block_terraform_check", (region_flags & REGION_FLAGS_BLOCK_TERRAFORM) ? TRUE : FALSE ); panel->childSetValue("block_fly_check", (region_flags & REGION_FLAGS_BLOCK_FLY) ? TRUE : FALSE ); -- cgit v1.2.3