Commit Graph

34294 Commits (12ff893e98ec00c51ef2d3fc4cb16bf8bc4f856a)

Author SHA1 Message Date
Mnikolenko ProductEngine ec3c0c4ae1 MAINT-1723 FIXED Restore snapshots from trash to Photo album folder. 2015-06-11 13:31:59 +03:00
Mnikolenko ProductEngine 70a31d5c6b MAINT-14 FIXED Region message logged into nearby chat log has duplicated sender name 2015-06-11 12:57:18 +03:00
Merov Linden 91c6f7a352 DD-393 : Rework association so that is_listed property is not overwritten before we get data from SLM 2015-06-10 22:08:36 -07:00
Merov Linden ab73b1af8f DD-416 : Added DAMA when version folder is empty and unlisted, accelerated some functions avoiding depth computation when we could, fixed cut case 2015-06-10 14:53:12 -07:00
ruslantproductengine 251cccd76c MAINT-4297 (Mesh models sometimes fail to load completely)
MAINT-4449 (Starter avatars deformed or missing alpha under some conditions / graphics cards / LOD )
BUG-7239 (Starter avatars deformed or missing alpha under some conditions / graphics cards / LOD)

The reason of problem on avatar (or one of avatar attachments) "deformed" it's selected volume (LLVolume) with a lower LOD.
How it works. Why it happens?

Each LLVOVolume object has variable mLOD which is indicate which is LLVolume should be assigned to LLPrimitive::mVolumep.

The assigment happens in LLVOVolume::setVolume which is call LLPrimitive::setVolume, which is then lookup desired volume in LLVolumeMgr class which is keep as I understand all volume groups for all objects in scene.

The data (mesh) for LLVolume class is loading from LL servers by http, and if sucessfully the variable LLVolume::mIsMeshAssetLoaded assigned to true.

But sometimes the data may not be ready, and in this case the LLVOVolume::setVolume make request for download mesh (to the LLMeshRepository) and setup one of available lod. All of this things happens in (see:
LLVOVolume::setVolume, code: block if (!getVolume()->isMeshAssetLoaded() {...})

When LLMeshRepository sucessfully download the mesh it's set (as I said above LLVolume::mIsMeshAssetLoaded, LLVolume::setMeshAssetLoaded()) and then also notify LLVOVolume::notifyMeshLoaded() about it.
This causes add LLVOVolume::mDrawable into the pipline build list (see LLVOVolume::notifyMeshLoaded()) and set LLVOVolume::mSculptChanged;

In order to process it later in LLVOVolume::updateGeometry (In order to see the mechanism of LLPipiline build list processing set bp in this method and see the stack).
After the LLDrawable will be processed it will be removed form the build queue also all falgs will be reseted (see the end of LLVOVolume::updateGeometry).

And here is the problem in variable-flag's "*Changed" processing (in LLVOVolume::updateGeometry):
What if by the time of processing the mFaceMappingChanged also will be set (due to other changes in engine)?
It means that LLVOVolume::setVolume will not be called and LLPrimitive::mVolumep remain unchaged and would point to the LLVolume for a lower LOD.

My changes intended for fix this problem.

BTW this is true for not only for standard avatar's. The reason why it is well visible on standard avatars is because it has a more "ugly" lower-LOD-s, than on avatars which is was loaded by the SL-users.
For example on my DudtPank avatars I didn't see big difference between LOD-0 and LOD-3.
If you want you can "play" with it in LLVOVolume::calcLOD() with add code if(getAvatar() && getAvatar()->isSelf()) { mLOD = <desired lod level [0..3]> }
2015-06-10 17:52:47 +03:00
Mnikolenko ProductEngine addaef9fa5 build fix 2015-06-11 12:19:52 +03:00
Merov Linden 97fc50e161 DD-412 : Fixes the hierarchy before creating a listing and warn the user 2015-06-09 23:00:14 -07:00
Merov Linden 84a7394ae0 DD-412 : WIP : Validate a listing before creating a listing on SLM 2015-06-09 19:44:03 -07:00
Merov Linden 2cc3ce72b3 DD-359 : Improve performance by caching display data while updating and preventing refreshing the whole marketplace (never useful) 2015-06-09 15:41:11 -07:00
Oz Linden 30d35f5cfb make a lot of values agree with declared types 2015-06-08 18:13:07 -04:00
Merov Linden 4f9bf22d5f DD-336, DD-359 : WIP : Introduced a reverse lookup table for version folder to listing folder to improve performance 2015-06-08 14:58:40 -07:00
Oz Linden 25a6adaac7 remove false positive trigraphs 2015-06-08 17:56:21 -04:00
Oz Linden 3034a5b270 add edu release channel 2015-06-08 17:37:56 -04:00
Oz Linden 1fce3cc89e corrections needed for new tools 2015-06-08 17:35:18 -04:00
Oz Linden 949942c730 merge changes for 3.7.29-release 2015-06-08 16:33:02 -04:00
Merov Linden b0e75cc153 DD-416 : Unlist a listed listing that becomes devoid of any item 2015-06-06 20:23:01 -07:00
Merov Linden e8dce624e4 DD-333 : Prevent dropping no copy items if it'll create folders above the folder limit 2015-06-06 17:49:19 -07:00
Merov Linden 65833cc0c7 DD-316 : Disable New Folder under version folder hierarchy of InventoryOutboxMaxFolderCount has been reached 2015-06-06 08:38:34 -07:00
Merov Linden 1d257ab53f DD-290 : Add an option to filter out marketplace, use it in Recent tab 2015-06-05 14:51:30 -07:00
pavelkproductengine d201f49ce3 MAINT-5137 FIXED Warning sometimes appears at login - Alert: There was a problem
Added logic to resend HTTP request for default perms saving
2015-06-04 20:03:20 +03:00
andreykproductengine 68f27e663e MAINT-4893 FIXED Investigate a viewer option to limit rendering avatar near 0,0,0 and avoid ugly rendering glitches 2015-06-09 19:21:04 +03:00
Mnikolenko ProductEngine beeb8d8bc8 MAINT-797 FIXED Hide Place profile panel and related buttons when opening pick panel. 2015-06-10 12:05:51 +03:00
simon 3720ed0613 Merge downstream code 2015-06-09 17:01:50 -07:00
AndreyL ProductEngine ee4289ade5 MAINT-5270 FIXED Group members of large groups in a role which has "Invite people to this group" ability are not able to send group invites from RC regions 2015-06-09 05:03:52 +03:00
andreykproductengine 1f1b5dc51d MAINT-5230 FIXED Viewer gets stuck clearing texture cache 2015-06-08 16:25:59 +03:00
AndreyL ProductEngine 99d827e15b MAINT-5237 FIXED Everyone Roles are not allowed to view the member's list
but the Viewer claims that it is retrieving the member list
2015-06-08 06:55:22 +03:00
AndreyL ProductEngine a63ab891dc MAINT-5240 FIXED Viewer will request the full group member list for group chat in some cases - need to remove this 2015-06-08 06:51:05 +03:00
Mnikolenko ProductEngine 9a13f4270b MAINT-14 FIXED Treat region message like a system message, but also show sender name. 2015-06-08 11:56:14 +03:00
vyacheslavsproductengine a2bd04ca24 MAINT-5186 FIXED (Avatar textures do not load in the Appearance editor after disabling an Alpha mask) 2015-06-05 20:53:16 +04:00
andreykproductengine b59770199a Merge from viewer-release 2015-06-05 16:30:04 +03:00
Mnikolenko ProductEngine 77b4f1d51c build fix 2015-06-05 13:06:04 +03:00
andreykproductengine dbaec6a34e MAINT-4764 Investigate object updates for better child/root drawing on viewer 2015-06-03 20:37:26 +03:00
AndreyL ProductEngine 71209a51af MAINT-5240 FIXED Per Kelly, added delay to GroupPropertiesRequest too 2015-06-04 19:40:21 +03:00
AndreyL ProductEngine adcd7030ea MAINT-5240 FIXED Viewer will request the full group member list for group chat in some cases 2015-06-04 18:25:28 +03:00
Mnikolenko ProductEngine c62fc3e36e MAINT-2346 FIXED Show the amount of allowed and banned residents. 2015-06-04 18:09:16 +03:00
Mnikolenko ProductEngine fda0c3eb59 MAINT-1693 FIXED Building Block Type is changed to Torus after cancel changing of texture for sculpted object 2015-06-04 12:50:16 +03:00
vyacheslavsproductengine 3f3bac5e91 MAINT-4446 FIXED R2 (Alpha masking does not work when ALM is enabled if the object has a legacy bump set.) 2015-06-03 20:00:53 +04:00
vyacheslavsproductengine 5d70ea8d4f Backed out changeset: ebdaabeef422 2015-06-03 19:57:01 +04:00
vyacheslavsproductengine ae65d99dd9 MAINT-4446 FIXED R2 (Alpha masking does not work when ALM is enabled if the object has a legacy bump set.) 2015-06-03 18:04:17 +04:00
Mnikolenko ProductEngine afb0819224 MAINT-1788 FIXED Cancel changes when clicking Close button or exiting Viewer. 2015-06-03 12:23:29 +03:00
vyacheslavsproductengine cfe009cbf6 MAINT-4761 FIXED viewer crash (Crash after selecting 'Skin weights' checkbox when uploading the second model.) 2015-06-01 21:02:35 +04:00
andreykproductengine 2574d1c1fe MAINT-2864 FIXED Viewer crashes when clicking "Ok" on "Delete Selected Item" modal from a non existant object. 2015-07-01 20:07:56 +03:00
andreykproductengine 1256392d01 MAINT-5269 FIXED Viewer crashes if you open Help -> About Second Life while a group member list is loading. 2015-06-11 19:30:02 +03:00
andreykproductengine d092e375fd Merge downstream code and become version 3.8.2 2015-07-15 16:06:55 +03:00
andreykproductengine 2684c53690 Merge from viewer-relese and become version 3.8.1 2015-07-02 14:50:23 +03:00
andreykproductengine 1845816aa2 MAINT-5299 FIXED [MAINT-RC] Unlinking individual prims from a linkset no longer works 2015-06-25 16:36:38 +03:00
Oz Linden ae89d5b4d9 merge 3.7.30-release 2015-06-16 13:21:55 -04:00
vyacheslavsproductengine 1491c23d9b MAINT-4761 FIXED viewer crash (Crash after selecting 'Skin weights' checkbox when uploading the second model.) 2015-06-01 21:02:35 +04:00
Mnikolenko ProductEngine 4fa3e33c4d MAINT-2007 FIXED Restored the code for ejecting confirmation. Confirmation on banning was added. 2015-06-02 13:15:31 +03:00
Merov Linden 5cd0e7cf90 Pull merge from lindenlab/viewer-release 2015-05-29 17:11:37 -07:00