Fix weird gesture deactivation and state-save bug with weird fix.
Also OCDly replace a NULL with nullptr (not part of the above fix).
This commit is contained in:
@@ -996,9 +996,9 @@ void LLGestureMgr::onLoadComplete(LLVFS *vfs,
|
||||
{
|
||||
LLLoadInfo* info = (LLLoadInfo*)user_data;
|
||||
|
||||
const LLUUID& item_id = info->mItemID;
|
||||
const bool& inform_server = info->mInformServer;
|
||||
const bool& deactivate_similar = info->mDeactivateSimilar;
|
||||
const LLUUID item_id = info->mItemID;
|
||||
const bool inform_server = info->mInformServer;
|
||||
const bool deactivate_similar = info->mDeactivateSimilar;
|
||||
|
||||
delete info;
|
||||
info = nullptr;
|
||||
|
||||
Reference in New Issue
Block a user