[opensource-dev] Landmarks on login?

Brandon Husbands xotmid at gmail.com
Thu Sep 16 15:11:30 PDT 2010


Requesting region handles etc...

llLandmark.cpp
line 164

void LLLandmark::registerCallbacks(LLMessageSystem* msg)
{
    msg->setHandlerFunc("RegionIDAndHandleReply",
&processRegionIDAndHandle);
}

called from
llstartup.cpp
line 1649
LLLandmark::registerCallbacks(msg);


Call Stack When it starts fetching

 secondlife-bin.exe!LLAssetStorage::getAssetData(LLUUID uuid={...},
LLAssetType::EType type=AT_LANDMARK, void (LLVFS *, const LLUUID &,
LLAssetType::EType, void *, int, int)* callback=0x004341ee, void *
user_data=0x00000000, int is_priority=0x00000000)  Line 472 + 0xb2 bytes
C++
     secondlife-bin.exe!LLLandmarkList::getAsset(const LLUUID &
asset_uuid={...}, boost::function<void __cdecl(LLLandmark *)> cb={...})
Line 92    C++

secondlife-bin.exe!LLFirstAgentParcelLandmark::operator()(LLInventoryCategory
* cat=0x00000000, LLInventoryItem * item=0x134fc288)  Line 148 + 0x3e
bytes    C++
     secondlife-bin.exe!LLInventoryModel::collectDescendentsIf(const LLUUID
& id={...}, LLDynamicArray<LLPointer<LLViewerInventoryCategory>,32> &
cats={...}, LLDynamicArray<LLPointer<LLViewerInventoryItem>,32> &
items={...}, int include_trash=0x00000000, LLInventoryCollectFunctor &
add={...}, int follow_folder_links=0x00000000)  Line 532 + 0x13 bytes    C++

secondlife-bin.exe!fetch_landmarks(LLDynamicArray<LLPointer<LLViewerInventoryCategory>,32>
& cats={...}, LLDynamicArray<LLPointer<LLViewerInventoryItem>,32> &
items={...}, LLInventoryCollectFunctor & add={...})  Line 179    C++
     secondlife-bin.exe!LLLandmarkActions::hasParcelLandmark()  Line 203 +
0x11 bytes    C++
     secondlife-bin.exe!LLLocationInputCtrl::updateAddLandmarkButton()  Line
989 + 0x5 bytes    C++
     secondlife-bin.exe!LLRemoveLandmarkObserver::changed(unsigned int
mask=0xffffffff)  Line 145    C++

secondlife-bin.exe!LLInventoryModel::notifyObservers(std::basic_string<char,std::char_traits<char>,std::allocator<char>
> service_name="")  Line 1088    C++
     secondlife-bin.exe!LLInventoryModel::buildParentChildMap()  Line
1969    C++
     secondlife-bin.exe!idle_startup()  Line 1639    C++
     secondlife-bin.exe!LLAppViewer::idle()  Line 3549 + 0x5 bytes    C++
     secondlife-bin.exe!LLAppViewer::mainLoop()  Line 1067    C++
     secondlife-bin.exe!WinMain(HINSTANCE__ * hInstance=0x00400000,
HINSTANCE__ * hPrevInstance=0x00000000, char * lpCmdLine=0x001d7734, int
nCmdShow=0x00000001)  Line 178    C++
     secondlife-bin.exe!__tmainCRTStartup()  Line 589 + 0x1d bytes    C


On Thu, Sep 16, 2010 at 5:06 PM, Kent Quirk (Q Linden) <q at lindenlab.com>wrote:

> Have you got a JIRA, or better yet, a pointer to the code in question?
> Sounds like it's worth investigating.
>
>        Q
>
> On Sep 16, 2010, at 5:51 PM, Brandon Husbands wrote:
>
> >
> > viewer 2, Why ohh why on log in is it grabbing all landmarks then getting
> region handles for them?
> >
> > --
> >
> -------------------------------------------------------------------------------------------------------------------------------
> > This email is a private and confidential communication. Any use of email
> may be subject to the laws and regulations of the United States. You may not
> Repost, Distribute nor reproduce any content of this message.
> >
> -------------------------------------------------------------------------------------------------------------------------------
> >
> -------------------------------------------------------------------------------------------------------------------------------
> > _______________________________________________
> > Policies and (un)subscribe information available here:
> > http://wiki.secondlife.com/wiki/OpenSource-Dev
> > Please read the policies before posting to keep unmoderated posting
> privileges
>
>


-- 
-------------------------------------------------------------------------------------------------------------------------------
This email is a private and confidential communication. Any use of email may
be subject to the laws and regulations of the United States. You may not
Repost, Distribute nor reproduce any content of this message.
-------------------------------------------------------------------------------------------------------------------------------
-------------------------------------------------------------------------------------------------------------------------------
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.secondlife.com/pipermail/opensource-dev/attachments/20100916/abc2978c/attachment-0001.htm 


More information about the opensource-dev mailing list