From c37b822abff1a77150a334711d8484025e8c1436 Mon Sep 17 00:00:00 2001 From: Mnikolenko Productengine Date: Tue, 23 Aug 2016 18:53:27 +0300 Subject: MAINT-6616 new crash in VOB viewer in snapshot preview --- indra/newview/lltexturectrl.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'indra/newview') diff --git a/indra/newview/lltexturectrl.cpp b/indra/newview/lltexturectrl.cpp index fd13f60606..ad4f903dff 100644 --- a/indra/newview/lltexturectrl.cpp +++ b/indra/newview/lltexturectrl.cpp @@ -306,7 +306,7 @@ BOOL LLFloaterTexturePicker::handleKeyHere(KEY key, MASK mask) void LLFloaterTexturePicker::onClose(bool app_quitting) { - if (mOnFloaterCloseCallback) + if (mOwner && mOnFloaterCloseCallback) { mOnFloaterCloseCallback(); } -- cgit v1.2.3