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
0efca82b
"...xdg-integration.git" did not exist on "74d6e6b65c9c3e85e8ec84939b35a1e584379e1f"
Commit
0efca82b
authored
14 years ago
by
Tofu Linden
Browse files
Options
Downloads
Plain Diff
merge
parents
82b91b13
c331607d
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/llcofwearables.cpp
+18
-1
18 additions, 1 deletion
indra/newview/llcofwearables.cpp
indra/newview/llsidepanelappearance.cpp
+2
-0
2 additions, 0 deletions
indra/newview/llsidepanelappearance.cpp
with
20 additions
and
1 deletion
indra/newview/llcofwearables.cpp
+
18
−
1
View file @
0efca82b
...
...
@@ -397,12 +397,20 @@ void LLCOFWearables::refresh()
mCOFVersion
=
catp
->
getVersion
();
// Save current scrollbar position.
typedef
std
::
map
<
LLFlatListView
*
,
LLRect
>
scroll_pos_map_t
;
scroll_pos_map_t
saved_scroll_pos
;
saved_scroll_pos
[
mAttachments
]
=
mAttachments
->
getVisibleContentRect
();
saved_scroll_pos
[
mClothing
]
=
mClothing
->
getVisibleContentRect
();
saved_scroll_pos
[
mBodyParts
]
=
mBodyParts
->
getVisibleContentRect
();
// Save current selection.
typedef
std
::
vector
<
LLSD
>
values_vector_t
;
typedef
std
::
map
<
LLFlatListView
*
,
values_vector_t
>
selection_map_t
;
selection_map_t
preserve_selection
;
// Save current selection
mAttachments
->
getSelectedValues
(
preserve_selection
[
mAttachments
]);
mClothing
->
getSelectedValues
(
preserve_selection
[
mClothing
]);
mBodyParts
->
getSelectedValues
(
preserve_selection
[
mBodyParts
]);
...
...
@@ -450,6 +458,15 @@ void LLCOFWearables::refresh()
list
->
setCommitOnSelectionChange
(
true
);
}
// Restore previous scrollbar position.
for
(
scroll_pos_map_t
::
const_iterator
it
=
saved_scroll_pos
.
begin
();
it
!=
saved_scroll_pos
.
end
();
++
it
)
{
LLFlatListView
*
list
=
it
->
first
;
LLRect
scroll_pos
=
it
->
second
;
list
->
scrollToShowRect
(
scroll_pos
);
}
}
...
...
This diff is collapsed.
Click to expand it.
indra/newview/llsidepanelappearance.cpp
+
2
−
0
View file @
0efca82b
...
...
@@ -286,6 +286,8 @@ void LLSidepanelAppearance::showOutfitsInventoryPanel()
void
LLSidepanelAppearance
::
showOutfitEditPanel
()
{
if
(
mOutfitEdit
&&
mOutfitEdit
->
getVisible
())
return
;
// Accordion's state must be reset in all cases except the one when user
// is returning back to the mOutfitEdit panel from the mEditWearable panel.
// The simplest way to control this is to check the visibility state of the mEditWearable
...
...
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