diff options
| author | andreykproductengine <akleshchev@productengine.com> | 2014-05-06 17:21:18 +0300 |
|---|---|---|
| committer | andreykproductengine <akleshchev@productengine.com> | 2014-05-06 17:21:18 +0300 |
| commit | 4e0d3bdd4da2bf376bf482f4430e05ba8a6fa01c (patch) | |
| tree | 5275cc237cf3fb11eca8bc3c0b30a9634e60cc57 /indra/newview/llpanelobjectinventory.cpp | |
| parent | afcfc40b5fd413058fe003636ad760683f0f0bde (diff) | |
MAINT-3977 FIXED Object does not display newly added contents if it was edited that session and you teleported to another region and back and then added new contents.
Diffstat (limited to 'indra/newview/llpanelobjectinventory.cpp')
| -rwxr-xr-x | indra/newview/llpanelobjectinventory.cpp | 11 |
1 files changed, 8 insertions, 3 deletions
diff --git a/indra/newview/llpanelobjectinventory.cpp b/indra/newview/llpanelobjectinventory.cpp index 6c9616511f..95472874ec 100755 --- a/indra/newview/llpanelobjectinventory.cpp +++ b/indra/newview/llpanelobjectinventory.cpp @@ -1862,14 +1862,19 @@ void LLPanelObjectInventory::refresh() } if(!has_inventory) { - mTaskUUID = LLUUID::null; - removeVOInventoryListener(); - clearContents(); + clearInventoryTask(); } mInventoryViewModel.setTaskID(mTaskUUID); //llinfos << "LLPanelObjectInventory::refresh() " << mTaskUUID << llendl; } +void LLPanelObjectInventory::clearInventoryTask() +{ + mTaskUUID = LLUUID::null; + removeVOInventoryListener(); + clearContents(); +} + void LLPanelObjectInventory::removeSelectedItem() { if(mFolders) |
