diff options
Diffstat (limited to 'linden/indra/newview/llviewertexteditor.cpp')
-rw-r--r-- | linden/indra/newview/llviewertexteditor.cpp | 12 |
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 | |||
66 | static LLRegisterWidget<LLViewerTextEditor> r("text_editor"); | 70 | static 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 | ||
1389 | void LLViewerTextEditor::openEmbeddedTexture( LLInventoryItem* item, llwchar wc ) | 1394 | void 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] |