aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/linden/indra/newview/llviewertexteditor.cpp
diff options
context:
space:
mode:
authorAleric Inglewood2010-10-22 00:51:53 +0200
committerAleric Inglewood2010-10-22 00:51:53 +0200
commit7c4e01af677907b75694b9c4827d6f3ba56a5e19 (patch)
treefd743d3cefc7d4e671c6a6429be50e76191bbd9c /linden/indra/newview/llviewertexteditor.cpp
parentDon't dump callstacks at clean exit of viewer. (diff)
parentChanged version to Experimental 2010.10.17 (diff)
downloadmeta-impy-7c4e01af677907b75694b9c4827d6f3ba56a5e19.zip
meta-impy-7c4e01af677907b75694b9c4827d6f3ba56a5e19.tar.gz
meta-impy-7c4e01af677907b75694b9c4827d6f3ba56a5e19.tar.bz2
meta-impy-7c4e01af677907b75694b9c4827d6f3ba56a5e19.tar.xz
Merge branch 'weekly' of http://github.com/imprudence/imprudence into weekly
Diffstat (limited to 'linden/indra/newview/llviewertexteditor.cpp')
-rw-r--r--linden/indra/newview/llviewertexteditor.cpp12
1 files changed, 9 insertions, 3 deletions
diff --git a/linden/indra/newview/llviewertexteditor.cpp b/linden/indra/newview/llviewertexteditor.cpp
index 981c9bc..1616b97 100644
--- a/linden/indra/newview/llviewertexteditor.cpp
+++ b/linden/indra/newview/llviewertexteditor.cpp
@@ -63,6 +63,10 @@
63#include "llappviewer.h" // for gPacificDaylightTime 63#include "llappviewer.h" // for gPacificDaylightTime
64#include "viewertime.h" 64#include "viewertime.h"
65 65
66// [RLVa:KB]
67#include "rlvhandler.h"
68// [/RLVa:KB]
69
66static LLRegisterWidget<LLViewerTextEditor> r("text_editor"); 70static LLRegisterWidget<LLViewerTextEditor> r("text_editor");
67 71
68///---------------------------------------------------------------------------- 72///----------------------------------------------------------------------------
@@ -97,9 +101,10 @@ public:
97 } 101 }
98 else 102 else
99 { 103 {
100// [RLVa:KB] - Checked: 2009-07-06 (RLVa-1.0.0c) 104// [RLVa:KB] - Checked: 2009-11-11 (RLVa-1.1.0a) | Modified: RLVa-1.1.0a
101 if ( (rlv_handler_t::isEnabled()) && (gRlvHandler.hasBehaviour(RLV_BHVR_VIEWNOTE)) ) 105 if (gRlvHandler.hasBehaviour(RLV_BHVR_VIEWNOTE))
102 { 106 {
107 RlvNotifications::notifyBlockedViewNote();
103 return; 108 return;
104 } 109 }
105// [/RLVa:KB] 110// [/RLVa:KB]
@@ -1388,9 +1393,10 @@ BOOL LLViewerTextEditor::openEmbeddedItem(LLInventoryItem* item, llwchar wc)
1388 1393
1389void LLViewerTextEditor::openEmbeddedTexture( LLInventoryItem* item, llwchar wc ) 1394void LLViewerTextEditor::openEmbeddedTexture( LLInventoryItem* item, llwchar wc )
1390{ 1395{
1391// [RLVa:KB] - Checked: 2009-10-13 (RLVa-1.0.5c) | Added: RLVa-1.0.5c 1396// [RLVa:KB] - Checked: 2009-11-11 (RLVa-1.1.0a) | Modified: RLVa-1.1.0a
1392 if (gRlvHandler.hasBehaviour(RLV_BHVR_VIEWTEXTURE)) 1397 if (gRlvHandler.hasBehaviour(RLV_BHVR_VIEWTEXTURE))
1393 { 1398 {
1399 RlvNotifications::notifyBlockedViewTexture();
1394 return; 1400 return;
1395 } 1401 }
1396// [/RLVa:KB] 1402// [/RLVa:KB]