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
2c0cb3b7
Commit
2c0cb3b7
authored
4 years ago
by
Kitty Barnett
Browse files
Options
Downloads
Plain Diff
Merge branch 'appearance/misc' into appearance/misc
parents
eb00189e
10a23115
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/llinventorymodel.cpp
+7
-1
7 additions, 1 deletion
indra/newview/llinventorymodel.cpp
with
7 additions
and
1 deletion
indra/newview/llinventorymodel.cpp
+
7
−
1
View file @
2c0cb3b7
...
...
@@ -903,7 +903,13 @@ U32 LLInventoryModel::updateItem(const LLViewerInventoryItem* item, U32 mask)
LLUUID
new_parent_id
=
item
->
getParentUUID
();
bool
update_parent_on_server
=
false
;
if
(
new_parent_id
.
isNull
())
// if (new_parent_id.isNull())
// [SL:KB] - Patch: Appearance-Misc | Checked: Catznip-6.4
// The problem seems to be the 'LogoutReply' message so don't reparent anything to the LNF folder
// as soon as we've sent out the log out request (since the quitting state is only set >after< we
// start processing the logout response)
if
(
(
new_parent_id
.
isNull
())
&&
(
!
LLAppViewer
::
instance
()
->
logoutRequestSent
())
&&
(
!
LLApp
::
isExiting
())
)
// [/SL:KB]
{
// item with null parent will end in random location and then in Lost&Found,
// either move to default folder as if it is new item or don't move at all
...
...
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