Skip to content
Snippets Groups Projects
Commit c70b0508 authored by gabriel lee's avatar gabriel lee
Browse files

patching from fixes made in dessie/viewer-release

parent bcd84433
No related branches found
No related tags found
No related merge requests found
......@@ -522,6 +522,9 @@ void LLLandmarksPanel::setParcelID(const LLUUID& parcel_id)
{
if (!parcel_id.isNull())
{
//ext-4655, defensive. remove now incase this gets called twice without a remove
LLRemoteParcelInfoProcessor::getInstance()->removeObserver(parcel_id, this);
LLRemoteParcelInfoProcessor::getInstance()->addObserver(parcel_id, this);
LLRemoteParcelInfoProcessor::getInstance()->sendParcelInfoRequest(parcel_id);
}
......
......@@ -210,6 +210,9 @@ void LLPanelPickInfo::sendParcelInfoRequest()
{
if (mParcelId != mRequestedId)
{
//ext-4655, remove now incase this gets called twice without a remove
LLRemoteParcelInfoProcessor::getInstance()->removeObserver(mRequestedId, this);
LLRemoteParcelInfoProcessor::getInstance()->addObserver(mParcelId, this);
LLRemoteParcelInfoProcessor::getInstance()->sendParcelInfoRequest(mParcelId);
......
......@@ -202,6 +202,9 @@ void LLPanelPlace::sendParcelInfoRequest()
{
if (mParcelID != mRequestedID)
{
//ext-4655, remove now incase this gets called twice without a remove
LLRemoteParcelInfoProcessor::getInstance()->removeObserver(mRequestedID, this);
LLRemoteParcelInfoProcessor::getInstance()->addObserver(mParcelID, this);
LLRemoteParcelInfoProcessor::getInstance()->sendParcelInfoRequest(mParcelID);
......
......@@ -133,6 +133,10 @@ void LLPanelPlaceInfo::sendParcelInfoRequest()
{
if (mParcelID != mRequestedID)
{
//ext-4655, defensive. remove now incase this gets called twice without a remove
//as panel never closes its ok atm (but wrong :)
LLRemoteParcelInfoProcessor::getInstance()->removeObserver(mRequestedID, this);
LLRemoteParcelInfoProcessor::getInstance()->addObserver(mParcelID, this);
LLRemoteParcelInfoProcessor::getInstance()->sendParcelInfoRequest(mParcelID);
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment