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
64f4246f
Commit
64f4246f
authored
11 years ago
by
Gilbert Gonzales
Browse files
Options
Downloads
Patches
Plain Diff
ACME-471: Code cleanup, just moving some code.
parent
3d40f4d8
No related branches found
Branches containing commit
No related tags found
Tags containing commit
No related merge requests found
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
indra/newview/llagentui.cpp
+10
-10
10 additions, 10 deletions
indra/newview/llagentui.cpp
with
10 additions
and
10 deletions
indra/newview/llagentui.cpp
+
10
−
10
View file @
64f4246f
...
@@ -112,6 +112,11 @@ BOOL LLAgentUI::buildLocationString(std::string& str, ELocationFormat fmt,const
...
@@ -112,6 +112,11 @@ BOOL LLAgentUI::buildLocationString(std::string& str, ELocationFormat fmt,const
case
LOCATION_FORMAT_NORMAL
:
case
LOCATION_FORMAT_NORMAL
:
buffer
=
llformat
(
"%s"
,
region_name
.
c_str
());
buffer
=
llformat
(
"%s"
,
region_name
.
c_str
());
break
;
break
;
case
LOCATION_FORMAT_NORMAL_COORDS
:
buffer
=
llformat
(
"%s (%d, %d, %d)"
,
region_name
.
c_str
(),
pos_x
,
pos_y
,
pos_z
);
break
;
case
LOCATION_FORMAT_NO_COORDS
:
case
LOCATION_FORMAT_NO_COORDS
:
buffer
=
llformat
(
"%s%s%s"
,
buffer
=
llformat
(
"%s%s%s"
,
region_name
.
c_str
(),
region_name
.
c_str
(),
...
@@ -130,11 +135,6 @@ BOOL LLAgentUI::buildLocationString(std::string& str, ELocationFormat fmt,const
...
@@ -130,11 +135,6 @@ BOOL LLAgentUI::buildLocationString(std::string& str, ELocationFormat fmt,const
sim_access_string
.
empty
()
?
""
:
" - "
,
sim_access_string
.
empty
()
?
""
:
" - "
,
sim_access_string
.
c_str
());
sim_access_string
.
c_str
());
break
;
break
;
case
LOCATION_FORMAT_NORMAL_COORDS
:
buffer
=
llformat
(
"%s (%d, %d, %d)"
,
region_name
.
c_str
(),
pos_x
,
pos_y
,
pos_z
);
break
;
}
}
}
}
else
else
...
@@ -148,6 +148,11 @@ BOOL LLAgentUI::buildLocationString(std::string& str, ELocationFormat fmt,const
...
@@ -148,6 +148,11 @@ BOOL LLAgentUI::buildLocationString(std::string& str, ELocationFormat fmt,const
case
LOCATION_FORMAT_NORMAL
:
case
LOCATION_FORMAT_NORMAL
:
buffer
=
llformat
(
"%s, %s"
,
parcel_name
.
c_str
(),
region_name
.
c_str
());
buffer
=
llformat
(
"%s, %s"
,
parcel_name
.
c_str
(),
region_name
.
c_str
());
break
;
break
;
case
LOCATION_FORMAT_NORMAL_COORDS
:
buffer
=
llformat
(
"%s (%d, %d, %d)"
,
parcel_name
.
c_str
(),
pos_x
,
pos_y
,
pos_z
);
break
;
case
LOCATION_FORMAT_NO_MATURITY
:
case
LOCATION_FORMAT_NO_MATURITY
:
buffer
=
llformat
(
"%s, %s (%d, %d, %d)"
,
buffer
=
llformat
(
"%s, %s (%d, %d, %d)"
,
parcel_name
.
c_str
(),
parcel_name
.
c_str
(),
...
@@ -169,11 +174,6 @@ BOOL LLAgentUI::buildLocationString(std::string& str, ELocationFormat fmt,const
...
@@ -169,11 +174,6 @@ BOOL LLAgentUI::buildLocationString(std::string& str, ELocationFormat fmt,const
sim_access_string
.
empty
()
?
""
:
" - "
,
sim_access_string
.
empty
()
?
""
:
" - "
,
sim_access_string
.
c_str
());
sim_access_string
.
c_str
());
break
;
break
;
case
LOCATION_FORMAT_NORMAL_COORDS
:
buffer
=
llformat
(
"%s (%d, %d, %d)"
,
parcel_name
.
c_str
(),
pos_x
,
pos_y
,
pos_z
);
break
;
}
}
}
}
str
=
buffer
;
str
=
buffer
;
...
...
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