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
cb3b02ac
Commit
cb3b02ac
authored
14 years ago
by
Leyla Farazha
Browse files
Options
Downloads
Patches
Plain Diff
DN-132 Top scripts now show complete names
parent
bf4ca392
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
indra/newview/llfloatertopobjects.cpp
+23
-1
23 additions, 1 deletion
indra/newview/llfloatertopobjects.cpp
indra/newview/llfloatertopobjects.h
+5
-0
5 additions, 0 deletions
indra/newview/llfloatertopobjects.h
with
28 additions
and
1 deletion
indra/newview/llfloatertopobjects.cpp
+
23
−
1
View file @
cb3b02ac
...
...
@@ -147,6 +147,17 @@ void LLFloaterTopObjects::handle_land_reply(LLMessageSystem* msg, void** data)
}
void
LLFloaterTopObjects
::
onAvatarNameCache
(
const
LLUUID
&
agent_id
,
const
LLAvatarName
&
av_name
,
LLSD
element
)
{
LLScrollListCtrl
*
list
=
getChild
<
LLScrollListCtrl
>
(
"objects_list"
);
element
[
"columns"
][
2
][
"value"
]
=
av_name
.
getCompleteName
();
list
->
addElement
(
element
);
}
void
LLFloaterTopObjects
::
handleReply
(
LLMessageSystem
*
msg
,
void
**
data
)
{
U32
request_flags
;
...
...
@@ -171,6 +182,7 @@ void LLFloaterTopObjects::handleReply(LLMessageSystem *msg, void** data)
F32
mono_score
=
0.
f
;
bool
have_extended_data
=
false
;
S32
public_urls
=
0
;
LLUUID
owner_id
;
msg
->
getU32Fast
(
_PREHASH_ReportData
,
_PREHASH_TaskLocalID
,
task_local_id
,
block
);
msg
->
getUUIDFast
(
_PREHASH_ReportData
,
_PREHASH_TaskID
,
task_id
,
block
);
...
...
@@ -186,8 +198,10 @@ void LLFloaterTopObjects::handleReply(LLMessageSystem *msg, void** data)
msg
->
getU32
(
"DataExtended"
,
"TimeStamp"
,
time_stamp
,
block
);
msg
->
getF32
(
"DataExtended"
,
"MonoScore"
,
mono_score
,
block
);
msg
->
getS32
(
_PREHASH_ReportData
,
"PublicURLs"
,
public_urls
,
block
);
msg
->
getUUID
(
"DataExtended"
,
"OwnerID"
,
owner_id
,
block
);
}
LLSD
element
;
element
[
"id"
]
=
task_id
;
...
...
@@ -238,8 +252,16 @@ void LLFloaterTopObjects::handleReply(LLMessageSystem *msg, void** data)
columns
[
6
][
"font"
]
=
"SANSSERIF"
;
}
element
[
"columns"
]
=
columns
;
list
->
addElement
(
element
);
if
(
!
owner_id
.
isNull
())
{
LLAvatarNameCache
::
get
(
owner_id
,
boost
::
bind
(
&
LLFloaterTopObjects
::
onAvatarNameCache
,
this
,
_1
,
_2
,
element
));
}
else
{
list
->
addElement
(
element
);
}
mObjectListData
.
append
(
element
);
mObjectListIDs
.
push_back
(
task_id
);
...
...
This diff is collapsed.
Click to expand it.
indra/newview/llfloatertopobjects.h
+
5
−
0
View file @
cb3b02ac
...
...
@@ -29,8 +29,11 @@
#include
"llfloater.h"
class
LLAvatarName
;
class
LLUICtrl
;
#include
<boost/signals2.hpp>
// boost::signals2::trackable
class
LLFloaterTopObjects
:
public
LLFloater
{
friend
class
LLFloaterReg
;
...
...
@@ -51,6 +54,8 @@ class LLFloaterTopObjects : public LLFloater
static
void
setMode
(
U32
mode
);
void
onAvatarNameCache
(
const
LLUUID
&
id
,
const
LLAvatarName
&
av_name
,
LLSD
element
);
private:
LLFloaterTopObjects
(
const
LLSD
&
key
);
~
LLFloaterTopObjects
();
...
...
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