Skip to content
GitLab
Explore
Sign in
Register
Primary navigation
Search or go to…
Project
Alchemy Viewer
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Iterations
Wiki
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Locked files
Deploy
Releases
Package registry
Operate
Terraform modules
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Terms and privacy
Keyboard shortcuts
?
Snippets
Groups
Projects
Silent mode is enabled
All outbound communications are blocked.
Learn more
.
Show more breadcrumbs
Alchemy Viewer
Alchemy Viewer
Commits
02d9734c
Commit
02d9734c
authored
12 years ago
by
Oz Linden
Browse files
Options
Downloads
Plain Diff
merge back DRTVWR-275 from 3.4.4 beta
parents
cd1871d2
def472b4
No related branches found
Branches containing commit
No related tags found
Tags containing commit
No related merge requests found
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
.hgtags
+1
-0
1 addition, 0 deletions
.hgtags
indra/llmessage/llavatarnamecache.cpp
+3
-4
3 additions, 4 deletions
indra/llmessage/llavatarnamecache.cpp
with
4 additions
and
4 deletions
.hgtags
+
1
−
0
View file @
02d9734c
...
@@ -393,3 +393,4 @@ cd39255bd23330fd30c04105f2811e941d8524fe 3.4.4-beta2
...
@@ -393,3 +393,4 @@ cd39255bd23330fd30c04105f2811e941d8524fe 3.4.4-beta2
35cfd4cf5b895fa776592f2e630e330be7f0604e DRTVWR-273
35cfd4cf5b895fa776592f2e630e330be7f0604e DRTVWR-273
a36f1f354b02aa6e448ca13685de167d0a0a3d03 DRTVWR-272
a36f1f354b02aa6e448ca13685de167d0a0a3d03 DRTVWR-272
37dba00ad820de3a808d4039396b162a9c275b3e DRTVWR-269
37dba00ad820de3a808d4039396b162a9c275b3e DRTVWR-269
c374035d459af3c03dea2dd90880dfc25de64706 DRTVWR-275
This diff is collapsed.
Click to expand it.
indra/llmessage/llavatarnamecache.cpp
+
3
−
4
View file @
02d9734c
...
@@ -348,7 +348,7 @@ void LLAvatarNameCache::requestNamesViaCapability()
...
@@ -348,7 +348,7 @@ void LLAvatarNameCache::requestNamesViaCapability()
while
(
!
sAskQueue
.
empty
())
while
(
!
sAskQueue
.
empty
())
{
{
it
=
sAskQueue
.
begin
();
it
=
sAskQueue
.
begin
();
const
LLUUID
&
agent_id
=
*
it
;
LLUUID
agent_id
=
*
it
;
sAskQueue
.
erase
(
it
);
sAskQueue
.
erase
(
it
);
if
(
url
.
empty
())
if
(
url
.
empty
())
...
@@ -416,7 +416,7 @@ void LLAvatarNameCache::requestNamesViaLegacy()
...
@@ -416,7 +416,7 @@ void LLAvatarNameCache::requestNamesViaLegacy()
for
(
S32
requests
=
0
;
!
sAskQueue
.
empty
()
&&
requests
<
MAX_REQUESTS
;
++
requests
)
for
(
S32
requests
=
0
;
!
sAskQueue
.
empty
()
&&
requests
<
MAX_REQUESTS
;
++
requests
)
{
{
it
=
sAskQueue
.
begin
();
it
=
sAskQueue
.
begin
();
const
LLUUID
&
agent_id
=
*
it
;
LLUUID
agent_id
=
*
it
;
sAskQueue
.
erase
(
it
);
sAskQueue
.
erase
(
it
);
// Mark as pending first, just in case the callback is immediately
// Mark as pending first, just in case the callback is immediately
...
@@ -563,8 +563,7 @@ void LLAvatarNameCache::eraseUnrefreshed()
...
@@ -563,8 +563,7 @@ void LLAvatarNameCache::eraseUnrefreshed()
const
LLAvatarName
&
av_name
=
it
->
second
;
const
LLAvatarName
&
av_name
=
it
->
second
;
if
(
av_name
.
mExpires
<
max_unrefreshed
)
if
(
av_name
.
mExpires
<
max_unrefreshed
)
{
{
const
LLUUID
&
agent_id
=
it
->
first
;
LL_DEBUGS
(
"AvNameCache"
)
<<
it
->
first
LL_DEBUGS
(
"AvNameCache"
)
<<
agent_id
<<
" user '"
<<
av_name
.
mUsername
<<
"' "
<<
" user '"
<<
av_name
.
mUsername
<<
"' "
<<
"expired "
<<
now
-
av_name
.
mExpires
<<
" secs ago"
<<
"expired "
<<
now
-
av_name
.
mExpires
<<
" secs ago"
<<
LL_ENDL
;
<<
LL_ENDL
;
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment