Skip to content
GitLab
Explore
Sign in
Register
Primary navigation
Search or go to…
Project
XDG Integration
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Wiki
Requirements
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Locked files
Build
Pipelines
Jobs
Pipeline schedules
Test cases
Artifacts
Deploy
Releases
Package registry
Model registry
Operate
Environments
Terraform modules
Monitor
Incidents
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Code review analytics
Issue analytics
Insights
Model experiments
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
JennaHuntsman
XDG Integration
Commits
59b10c2c
Commit
59b10c2c
authored
4 years ago
by
Andrey Kleshchev
Browse files
Options
Downloads
Patches
Plain Diff
SL-12335 Show parcel owner's name and icon in landmarks
parent
4043636c
No related branches found
No related tags found
No related merge requests found
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
indra/newview/llpanellandmarkinfo.cpp
+10
-4
10 additions, 4 deletions
indra/newview/llpanellandmarkinfo.cpp
indra/newview/llremoteparcelrequest.h
+1
-1
1 addition, 1 deletion
indra/newview/llremoteparcelrequest.h
with
11 additions
and
5 deletions
indra/newview/llpanellandmarkinfo.cpp
+
10
−
4
View file @
59b10c2c
...
...
@@ -103,7 +103,6 @@ void LLPanelLandmarkInfo::resetLocation()
mLandmarkTitleEditor
->
setText
(
LLStringUtil
::
null
);
mNotesEditor
->
setText
(
LLStringUtil
::
null
);
mParcelOwner
->
setVisible
(
FALSE
);
getChild
<
LLUICtrl
>
(
"parcel_owner_label"
)
->
setVisible
(
FALSE
);
}
...
...
@@ -162,7 +161,6 @@ void LLPanelLandmarkInfo::setInfoType(EInfoType type)
mLandmarkTitleEditor
->
setText
(
name
);
}
mParcelOwner
->
setVisible
(
TRUE
);
getChild
<
LLUICtrl
>
(
"parcel_owner_label"
)
->
setVisible
(
TRUE
);
LLUUID
owner_id
=
parcel
->
getOwnerID
();
if
(
owner_id
.
notNull
())
...
...
@@ -236,11 +234,19 @@ void LLPanelLandmarkInfo::processParcelInfo(const LLParcelData& parcel_data)
if
(
parcel_data
.
owner_id
.
notNull
())
{
// not suported and ivisible due to missing isGroupOwned flag
if
(
parcel_data
.
flags
&
0x4
)
// depends onto DRTSIM-453
{
std
::
string
owner_name
=
LLSLURL
(
"group"
,
parcel_data
.
owner_id
,
"inspect"
).
getSLURLString
();
mParcelOwner
->
setText
(
owner_name
);
}
else
{
std
::
string
owner_name
=
LLSLURL
(
"agent"
,
parcel_data
.
owner_id
,
"inspect"
).
getSLURLString
();
mParcelOwner
->
setText
(
owner_name
);
}
}
else
{
mParcelOwner
->
setVisible
(
TRUE
);
mParcelOwner
->
setText
(
getString
(
"public"
));
getChild
<
LLUICtrl
>
(
"parcel_owner_label"
)
->
setVisible
(
FALSE
);
}
...
...
This diff is collapsed.
Click to expand it.
indra/newview/llremoteparcelrequest.h
+
1
−
1
View file @
59b10c2c
...
...
@@ -45,7 +45,7 @@ struct LLParcelData
std
::
string
desc
;
S32
actual_area
;
S32
billable_area
;
U8
flags
;
U8
flags
;
// group owned, maturity
F32
global_x
;
F32
global_y
;
F32
global_z
;
...
...
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