summaryrefslogtreecommitdiff
path: root/indra/llcommon
diff options
context:
space:
mode:
authorAndreyL ProductEngine <alihatskiy@productengine.com>2017-09-20 22:54:17 +0300
committerAndreyL ProductEngine <alihatskiy@productengine.com>2017-09-20 22:54:17 +0300
commit307c005efabe0da3f8fbc3d2d89468db66d37b18 (patch)
tree4562882364c2eebff5f1acff692255d67bd20273 /indra/llcommon
parent012ba25d45e1c0c09090ee11204ee31eceb4b81f (diff)
parent5cd56406ab6d36e6b90e589f58fc4aa578edbdf1 (diff)
Merged in lindenlab/viewer-bear
Diffstat (limited to 'indra/llcommon')
-rw-r--r--indra/llcommon/llevents.cpp7
1 files changed, 7 insertions, 0 deletions
diff --git a/indra/llcommon/llevents.cpp b/indra/llcommon/llevents.cpp
index 97270e4931..93db6c0d17 100644
--- a/indra/llcommon/llevents.cpp
+++ b/indra/llcommon/llevents.cpp
@@ -316,6 +316,13 @@ LLBoundListener LLEventPump::listen_impl(const std::string& name, const LLEventL
const NameList& after,
const NameList& before)
{
+ if (!mSignal)
+ {
+ LL_WARNS() << "Can't connect listener" << LL_ENDL;
+ // connect will fail, return dummy
+ return LLBoundListener();
+ }
+
float nodePosition = 1.0;
// if the supplied name is empty we are not interested in the ordering mechanism