diff options
author | Oz Linden <oz@lindenlab.com> | 2012-03-09 12:58:50 -0500 |
---|---|---|
committer | Oz Linden <oz@lindenlab.com> | 2012-03-09 12:58:50 -0500 |
commit | 633bd44b4a9dbf7f4f262929b28848e04b446b26 (patch) | |
tree | dc3261611d5b07282c9a4210d49893be779c7d2a /indra/newview/llfloateravatarpicker.cpp | |
parent | 35dd27d5e57b2957aaa904cce841fccd4cfff850 (diff) | |
parent | 1b624f5ea686292652978c72d39e5546efe23d0f (diff) |
merge changes for vmrg-225
Diffstat (limited to 'indra/newview/llfloateravatarpicker.cpp')
-rw-r--r-- | indra/newview/llfloateravatarpicker.cpp | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/indra/newview/llfloateravatarpicker.cpp b/indra/newview/llfloateravatarpicker.cpp index aa66fcf9b8..0290e7cdf0 100644 --- a/indra/newview/llfloateravatarpicker.cpp +++ b/indra/newview/llfloateravatarpicker.cpp @@ -63,6 +63,11 @@ LLFloaterAvatarPicker* LLFloaterAvatarPicker::show(select_callback_t callback, // *TODO: Use a key to allow this not to be an effective singleton LLFloaterAvatarPicker* floater = LLFloaterReg::showTypedInstance<LLFloaterAvatarPicker>("avatar_picker"); + if (!floater) + { + llwarns << "Cannot instantiate avatar picker" << llendl; + return NULL; + } floater->mSelectionCallback = callback; floater->setAllowMultiple(allow_multiple); |