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
0c89242b
Commit
0c89242b
authored
15 years ago
by
James Cook
Browse files
Options
Downloads
Patches
Plain Diff
Demo code - name changes work on agni again
parent
f96376cb
No related branches found
No related tags found
No related merge requests found
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
indra/newview/llviewerdisplayname.cpp
+7
-3
7 additions, 3 deletions
indra/newview/llviewerdisplayname.cpp
with
7 additions
and
3 deletions
indra/newview/llviewerdisplayname.cpp
+
7
−
3
View file @
0c89242b
...
...
@@ -69,12 +69,16 @@ void LLViewerDisplayName::set(const std::string& display_name, const set_name_sl
std
::
string
cap_url
=
region
->
getCapability
(
"SetDisplayName"
);
if
(
cap_url
.
empty
())
{
//
this server does not support display names, report error
slot
(
false
,
"unsupported"
,
LLSD
()
);
//
JAMESDEBUG HACK for demos, fall back to prototype name service
LLAvatarNameCache
::
setDisplayName
(
gAgent
.
getID
(),
display_name
,
slot
);
return
;
// this server does not support display names, report error
//slot(false, "unsupported", LLSD());
//return;
}
llinfos
<<
"
JAMESDEBUG
POST to "
<<
cap_url
<<
llendl
;
llinfos
<<
"
Set name
POST to "
<<
cap_url
<<
llendl
;
// Record our caller for when the server sends back a reply
sSetDisplayNameSignal
.
connect
(
slot
);
...
...
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