Merge branch 'DRTVWR-521-maint' of https://bitbucket.org/lindenlab/viewer
commit
6305dc1ed8
|
|
@ -61,7 +61,7 @@ if (EXISTS ${CMAKE_SOURCE_DIR}/Server.cmake)
|
|||
set(INSTALL_PROPRIETARY ON CACHE BOOL "Install proprietary binaries")
|
||||
endif (EXISTS ${CMAKE_SOURCE_DIR}/Server.cmake)
|
||||
set(TEMPLATE_VERIFIER_OPTIONS "" CACHE STRING "Options for scripts/template_verifier.py")
|
||||
set(TEMPLATE_VERIFIER_MASTER_URL "https://bitbucket.org/lindenlab/master-message-template-git/raw/HEAD/message_template.msg" CACHE STRING "Location of the master message template")
|
||||
set(TEMPLATE_VERIFIER_MASTER_URL "https://bitbucket.org/lindenlab/master-message-template-git/raw/master/message_template.msg" CACHE STRING "Location of the master message template")
|
||||
|
||||
if (NOT CMAKE_BUILD_TYPE)
|
||||
set(CMAKE_BUILD_TYPE RelWithDebInfo CACHE STRING
|
||||
|
|
|
|||
|
|
@ -281,6 +281,13 @@ char const* const _PREHASH_PricePerMeter = LLMessageStringTable::getInstance()->
|
|||
char const* const _PREHASH_RegionFlags = LLMessageStringTable::getInstance()->getString("RegionFlags");
|
||||
char const* const _PREHASH_RegionFlagsExtended = LLMessageStringTable::getInstance()->getString("RegionFlagsExtended");
|
||||
char const* const _PREHASH_RegionProtocols = LLMessageStringTable::getInstance()->getString("RegionProtocols");
|
||||
char const* const _PREHASH_ChatWhisperRange = LLMessageStringTable::getInstance()->getString("ChatWhisperRange");
|
||||
char const* const _PREHASH_ChatNormalRange = LLMessageStringTable::getInstance()->getString("ChatNormalRange");
|
||||
char const* const _PREHASH_ChatShoutRange = LLMessageStringTable::getInstance()->getString("ChatShoutRange");
|
||||
char const* const _PREHASH_ChatWhisperOffset = LLMessageStringTable::getInstance()->getString("ChatWhisperOffset");
|
||||
char const* const _PREHASH_ChatNormalOffset = LLMessageStringTable::getInstance()->getString("ChatNormalOffset");
|
||||
char const* const _PREHASH_ChatShoutOffset = LLMessageStringTable::getInstance()->getString("ChatShoutOffset");
|
||||
char const* const _PREHASH_ChatFlags = LLMessageStringTable::getInstance()->getString("ChatFlags");
|
||||
char const* const _PREHASH_VoteResult = LLMessageStringTable::getInstance()->getString("VoteResult");
|
||||
char const* const _PREHASH_ParcelDirFeeEstimate = LLMessageStringTable::getInstance()->getString("ParcelDirFeeEstimate");
|
||||
char const* const _PREHASH_ModifyBlock = LLMessageStringTable::getInstance()->getString("ModifyBlock");
|
||||
|
|
@ -309,6 +316,7 @@ char const* const _PREHASH_DuplicateFlags = LLMessageStringTable::getInstance()-
|
|||
char const* const _PREHASH_RegionInfo2 = LLMessageStringTable::getInstance()->getString("RegionInfo2");
|
||||
char const* const _PREHASH_RegionInfo3 = LLMessageStringTable::getInstance()->getString("RegionInfo3");
|
||||
char const* const _PREHASH_RegionInfo4 = LLMessageStringTable::getInstance()->getString("RegionInfo4");
|
||||
char const* const _PREHASH_RegionInfo5 = LLMessageStringTable::getInstance()->getString("RegionInfo5");
|
||||
char const* const _PREHASH_TextColor = LLMessageStringTable::getInstance()->getString("TextColor");
|
||||
char const* const _PREHASH_SlaveID = LLMessageStringTable::getInstance()->getString("SlaveID");
|
||||
char const* const _PREHASH_Charter = LLMessageStringTable::getInstance()->getString("Charter");
|
||||
|
|
|
|||
|
|
@ -281,6 +281,13 @@ extern char const* const _PREHASH_PricePerMeter;
|
|||
extern char const* const _PREHASH_RegionFlags;
|
||||
extern char const* const _PREHASH_RegionFlagsExtended;
|
||||
extern char const* const _PREHASH_RegionProtocols;
|
||||
extern char const* const _PREHASH_ChatWhisperRange;
|
||||
extern char const* const _PREHASH_ChatNormalRange;
|
||||
extern char const* const _PREHASH_ChatShoutRange;
|
||||
extern char const* const _PREHASH_ChatWhisperOffset;
|
||||
extern char const* const _PREHASH_ChatNormalOffset;
|
||||
extern char const* const _PREHASH_ChatShoutOffset;
|
||||
extern char const* const _PREHASH_ChatFlags;
|
||||
extern char const* const _PREHASH_VoteResult;
|
||||
extern char const* const _PREHASH_ParcelDirFeeEstimate;
|
||||
extern char const* const _PREHASH_ModifyBlock;
|
||||
|
|
@ -309,6 +316,7 @@ extern char const* const _PREHASH_DuplicateFlags;
|
|||
extern char const* const _PREHASH_RegionInfo2;
|
||||
extern char const* const _PREHASH_RegionInfo3;
|
||||
extern char const* const _PREHASH_RegionInfo4;
|
||||
extern char const* const _PREHASH_RegionInfo5;
|
||||
extern char const* const _PREHASH_TextColor;
|
||||
extern char const* const _PREHASH_SlaveID;
|
||||
extern char const* const _PREHASH_Charter;
|
||||
|
|
|
|||
|
|
@ -248,6 +248,29 @@ void LLFloaterGodTools::processRegionInfo(LLMessageSystem* msg)
|
|||
region_flags = flags;
|
||||
}
|
||||
|
||||
if (msg->has(_PREHASH_RegionInfo5))
|
||||
{
|
||||
F32 chat_whisper_range;
|
||||
F32 chat_normal_range;
|
||||
F32 chat_shout_range;
|
||||
F32 chat_whisper_offset;
|
||||
F32 chat_normal_offset;
|
||||
F32 chat_shout_offset;
|
||||
U32 chat_flags;
|
||||
|
||||
msg->getF32Fast(_PREHASH_RegionInfo5, _PREHASH_ChatWhisperRange, chat_whisper_range);
|
||||
msg->getF32Fast(_PREHASH_RegionInfo5, _PREHASH_ChatNormalRange, chat_normal_range);
|
||||
msg->getF32Fast(_PREHASH_RegionInfo5, _PREHASH_ChatShoutRange, chat_shout_range);
|
||||
msg->getF32Fast(_PREHASH_RegionInfo5, _PREHASH_ChatWhisperOffset, chat_whisper_offset);
|
||||
msg->getF32Fast(_PREHASH_RegionInfo5, _PREHASH_ChatNormalOffset, chat_normal_offset);
|
||||
msg->getF32Fast(_PREHASH_RegionInfo5, _PREHASH_ChatShoutOffset, chat_shout_offset);
|
||||
msg->getU32Fast(_PREHASH_RegionInfo5, _PREHASH_ChatFlags, chat_flags);
|
||||
|
||||
LL_INFOS() << "Whisper range: " << chat_whisper_range << " normal range: " << chat_normal_range << " shout range: " << chat_shout_range
|
||||
<< " whisper offset: " << chat_whisper_offset << " normal offset: " << chat_normal_offset << " shout offset: " << chat_shout_offset
|
||||
<< " chat flags: " << chat_flags << LL_ENDL;
|
||||
}
|
||||
|
||||
if (host != gAgent.getRegionHost())
|
||||
{
|
||||
// Update is for a different region than the one we're in.
|
||||
|
|
|
|||
|
|
@ -501,6 +501,29 @@ void LLFloaterRegionInfo::processRegionInfo(LLMessageSystem* msg)
|
|||
region_flags = flags;
|
||||
}
|
||||
|
||||
if (msg->has(_PREHASH_RegionInfo5))
|
||||
{
|
||||
F32 chat_whisper_range;
|
||||
F32 chat_normal_range;
|
||||
F32 chat_shout_range;
|
||||
F32 chat_whisper_offset;
|
||||
F32 chat_normal_offset;
|
||||
F32 chat_shout_offset;
|
||||
U32 chat_flags;
|
||||
|
||||
msg->getF32Fast(_PREHASH_RegionInfo5, _PREHASH_ChatWhisperRange, chat_whisper_range);
|
||||
msg->getF32Fast(_PREHASH_RegionInfo5, _PREHASH_ChatNormalRange, chat_normal_range);
|
||||
msg->getF32Fast(_PREHASH_RegionInfo5, _PREHASH_ChatShoutRange, chat_shout_range);
|
||||
msg->getF32Fast(_PREHASH_RegionInfo5, _PREHASH_ChatWhisperOffset, chat_whisper_offset);
|
||||
msg->getF32Fast(_PREHASH_RegionInfo5, _PREHASH_ChatNormalOffset, chat_normal_offset);
|
||||
msg->getF32Fast(_PREHASH_RegionInfo5, _PREHASH_ChatShoutOffset, chat_shout_offset);
|
||||
msg->getU32Fast(_PREHASH_RegionInfo5, _PREHASH_ChatFlags, chat_flags);
|
||||
|
||||
LL_INFOS() << "Whisper range: " << chat_whisper_range << " normal range: " << chat_normal_range << " shout range: " << chat_shout_range
|
||||
<< " whisper offset: " << chat_whisper_offset << " normal offset: " << chat_normal_offset << " shout offset: " << chat_shout_offset
|
||||
<< " chat flags: " << chat_flags << LL_ENDL;
|
||||
}
|
||||
|
||||
// GENERAL PANEL
|
||||
panel = tab->getChild<LLPanel>("General");
|
||||
panel->getChild<LLUICtrl>("region_text")->setValue(LLSD(sim_name));
|
||||
|
|
|
|||
|
|
@ -173,6 +173,29 @@ void LLRegionInfoModel::update(LLMessageSystem* msg)
|
|||
mRegionFlags = flags;
|
||||
}
|
||||
|
||||
if (msg->has(_PREHASH_RegionInfo5))
|
||||
{
|
||||
F32 chat_whisper_range;
|
||||
F32 chat_normal_range;
|
||||
F32 chat_shout_range;
|
||||
F32 chat_whisper_offset;
|
||||
F32 chat_normal_offset;
|
||||
F32 chat_shout_offset;
|
||||
U32 chat_flags;
|
||||
|
||||
msg->getF32Fast(_PREHASH_RegionInfo5, _PREHASH_ChatWhisperRange, chat_whisper_range);
|
||||
msg->getF32Fast(_PREHASH_RegionInfo5, _PREHASH_ChatNormalRange, chat_normal_range);
|
||||
msg->getF32Fast(_PREHASH_RegionInfo5, _PREHASH_ChatShoutRange, chat_shout_range);
|
||||
msg->getF32Fast(_PREHASH_RegionInfo5, _PREHASH_ChatWhisperOffset, chat_whisper_offset);
|
||||
msg->getF32Fast(_PREHASH_RegionInfo5, _PREHASH_ChatNormalOffset, chat_normal_offset);
|
||||
msg->getF32Fast(_PREHASH_RegionInfo5, _PREHASH_ChatShoutOffset, chat_shout_offset);
|
||||
msg->getU32Fast(_PREHASH_RegionInfo5, _PREHASH_ChatFlags, chat_flags);
|
||||
|
||||
LL_INFOS() << "Whisper range: " << chat_whisper_range << " normal range: " << chat_normal_range << " shout range: " << chat_shout_range
|
||||
<< " whisper offset: " << chat_whisper_offset << " normal offset: " << chat_normal_offset << " shout offset: " << chat_shout_offset
|
||||
<< " chat flags: " << chat_flags << LL_ENDL;
|
||||
}
|
||||
|
||||
// the only reasonable way to decide if we actually have any data is to
|
||||
// check to see if any of these fields have nonzero sizes
|
||||
if (msg->getSize(_PREHASH_RegionInfo2, _PREHASH_ProductSKU) > 0 ||
|
||||
|
|
|
|||
|
|
@ -3020,7 +3020,6 @@ void LLViewerRegion::unpackRegionHandshake()
|
|||
mProductName = productName;
|
||||
}
|
||||
|
||||
|
||||
mCentralBakeVersion = region_protocols & 1; // was (S32)gSavedSettings.getBOOL("UseServerTextureBaking");
|
||||
LLVLComposition *compp = getComposition();
|
||||
if (compp)
|
||||
|
|
|
|||
|
|
@ -3002,6 +3002,16 @@ version 2.0
|
|||
RegionInfo3 Variable
|
||||
{ RegionFlagsExtended U64 }
|
||||
}
|
||||
{
|
||||
RegionInfo5 Variable
|
||||
{ ChatWhisperRange F32 }
|
||||
{ ChatNormalRange F32 }
|
||||
{ ChatShoutRange F32 }
|
||||
{ ChatWhisperOffset F32 }
|
||||
{ ChatNormalOffset F32 }
|
||||
{ ChatShoutOffset F32 }
|
||||
{ ChatFlags U32 }
|
||||
}
|
||||
}
|
||||
|
||||
// GodUpdateRegionInfo
|
||||
|
|
|
|||
|
|
@ -229,7 +229,7 @@ http://wiki.secondlife.com/wiki/Template_verifier.py
|
|||
""")
|
||||
parser.add_option(
|
||||
'-u', '--master_url', type='string', dest='master_url',
|
||||
default='https://bitbucket.org/lindenlab/master-message-template-git/raw/HEAD/message_template.msg',
|
||||
default='https://bitbucket.org/lindenlab/master-message-template-git/raw/master/message_template.msg',
|
||||
help="""The url of the master message template.""")
|
||||
parser.add_option(
|
||||
'-c', '--cache_master', action='store_true', dest='cache_master',
|
||||
|
|
|
|||
Loading…
Reference in New Issue