MAINT-7728 FIXED Viewer crashes if trying to send snapshot via email when region not set
parent
83e7b7a939
commit
9bb54527c4
|
|
@ -164,6 +164,8 @@ void LLPanelSnapshotPostcard::sendPostcardFinished(LLSD result)
|
|||
|
||||
void LLPanelSnapshotPostcard::sendPostcard()
|
||||
{
|
||||
if (!gAgent.getRegion()) return;
|
||||
|
||||
// upload the image
|
||||
std::string url = gAgent.getRegion()->getCapability("SendPostcard");
|
||||
if (!url.empty())
|
||||
|
|
|
|||
Loading…
Reference in New Issue