aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/linden/indra/newview/llviewerobject.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'linden/indra/newview/llviewerobject.cpp')
-rw-r--r--linden/indra/newview/llviewerobject.cpp17
1 files changed, 16 insertions, 1 deletions
diff --git a/linden/indra/newview/llviewerobject.cpp b/linden/indra/newview/llviewerobject.cpp
index 6591cd3..51908a5 100644
--- a/linden/indra/newview/llviewerobject.cpp
+++ b/linden/indra/newview/llviewerobject.cpp
@@ -1007,6 +1007,12 @@ U32 LLViewerObject::processUpdateMessage(LLMessageSystem *mesgsys,
1007 coloru.mV[3] = 255 - coloru.mV[3]; 1007 coloru.mV[3] = 255 - coloru.mV[3];
1008 mText->setColor(LLColor4(coloru)); 1008 mText->setColor(LLColor4(coloru));
1009 mText->setStringUTF8(temp_string); 1009 mText->setStringUTF8(temp_string);
1010// [RLVa:KB] - Checked: 2009-07-09 (RLVa-1.0.0f) | Added: RLVa-1.0.0f
1011 if (rlv_handler_t::isEnabled())
1012 {
1013 mText->setObjectText(temp_string);
1014 }
1015// [/RLVa:KB]
1010 1016
1011 if (mDrawable.notNull()) 1017 if (mDrawable.notNull())
1012 { 1018 {
@@ -1424,6 +1430,12 @@ U32 LLViewerObject::processUpdateMessage(LLMessageSystem *mesgsys,
1424 coloru.mV[3] = 255 - coloru.mV[3]; 1430 coloru.mV[3] = 255 - coloru.mV[3];
1425 mText->setColor(LLColor4(coloru)); 1431 mText->setColor(LLColor4(coloru));
1426 mText->setStringUTF8(temp_string); 1432 mText->setStringUTF8(temp_string);
1433// [RLVa:KB] - Version: 1.22.11 | Checked: 2009-07-09 (RLVa-1.0.0f) | Added: RLVa-1.0.0f
1434 if (rlv_handler_t::isEnabled())
1435 {
1436 mText->setObjectText(temp_string);
1437 }
1438// [/RLVa:KB]
1427 1439
1428 setChanged(TEXTURE); 1440 setChanged(TEXTURE);
1429 } 1441 }
@@ -4820,7 +4832,10 @@ BOOL LLViewerObject::permTransfer() const
4820// given you modify rights to. JC 4832// given you modify rights to. JC
4821BOOL LLViewerObject::allowOpen() const 4833BOOL LLViewerObject::allowOpen() const
4822{ 4834{
4823 return !flagInventoryEmpty() && (permYouOwner() || permModify()); 4835// [RLVa:KB] - Checked: 2009-07-04 (RLVa-1.0.0b)
4836 return !flagInventoryEmpty() && (permYouOwner() || permModify()) && (!gRlvHandler.hasBehaviour(RLV_BHVR_EDIT));
4837// [/RLVa:KB]
4838// return !flagInventoryEmpty() && (permYouOwner() || permModify());
4824} 4839}
4825 4840
4826LLViewerObject::LLInventoryCallbackInfo::~LLInventoryCallbackInfo() 4841LLViewerObject::LLInventoryCallbackInfo::~LLInventoryCallbackInfo()