Previous version could lead to a situation where a name request fails both via
caps or legacy, or it will return broken data, with both cases leading to a
callback connection waiting in the callback map and not issuing new requests for
the same name.
With the change, we might request names multiple times again, but handle the
callback only once (first one wins) and disconnect all others waiting, since
callObservers() will make sure all interested parties get notified about the
received name.
We only need to request the name from the name cache once. In case a name has
to be resolved another time while the response to our first request hasn't
arrived yet, do not request it again but just add another observer for that
agent id - it will be called as well once the request is finished.
on OS X.
The bug was fixed, the reasone of crash is following. The Core Flow view
contain another GL context and will not care about restoring a previous.
I restore context manually.
This path also contain a minor changes in another files.
All changes described here.
Change's for fix current bug.
indra/llwindow/llwindow.h
indra/llwindow/llwindowheadless.h
indra/llwindow/llwindowmacosx.h
indra/llwindow/llwindowsdl.h
indra/llwindow/llwindowwin32.h
indra/newview/lllocalbitmaps.cpp
indra/newview/llviewerdisplay.cpp
indra/newview/llviewerdisplay.h
Twice mUsage initialization (replace to forward initialization).
indra/llcharacter/lljointstate.h
Looks like condition should be befor memcopy call, otherwise - possible CRASH.
indra/llcommon/llmd5.cpp
Unused condition and variables.
indra/llmath/llsphere.cpp
Looks like should be under if otherwise - possible CRASH
indra\llprimitive\llmodel.cpp
Useless assert's.
indra/llrender/llrender.cpp
indra/newview/lldaycyclemanager.cpp