MAINT-7650 FIXED Crash in LLPreviewLSL::saveIfNeeded(bool)
parent
c3f8eb7161
commit
9e8464d5d9
|
|
@ -1683,6 +1683,7 @@ void LLPreviewLSL::saveIfNeeded(bool sync /*= true*/)
|
|||
mScriptEd->sync();
|
||||
}
|
||||
|
||||
if (!gAgent.getRegion()) return;
|
||||
const LLInventoryItem *inv_item = getItem();
|
||||
// save it out to asset server
|
||||
std::string url = gAgent.getRegion()->getCapability("UpdateScriptAgent");
|
||||
|
|
|
|||
Loading…
Reference in New Issue