summaryrefslogtreecommitdiff
path: root/indra
AgeCommit message (Collapse)Author
2025-08-06Merge branch develop into 2025.06Andrey Kleshchev
# Conflicts: # indra/newview/llvoavatar.cpp
2025-08-06Revert "#4400 Model Import "use lod above" was not updating"Andrey Kleshchev
This reverts commit e05b32a0305f57573236c12dc4c1fbeecf2878ed. Looks like I had a better fix in 2025.06
2025-08-06Merge release/2025.05 into developAndrey Kleshchev
2025-08-06#3564 Permit 'labeling' audio streams that play via media pluginAndrey Kleshchev
People were using fmod's undocumented capability to ignore everything after the url to label their streams.
2025-08-05#4473 Permit zooming to self in people panelAndrey Kleshchev
2025-08-05#4470 Adjustments and Mac build fixesAndrey Kleshchev
2025-08-05#4451 Remove missed first login imageAndrey Kleshchev
2025-08-05#4470 Plug in Discord SDK packageAndrey Kleshchev
2025-08-04#4483 Fix gltf not opening unicode pathsAndrey Kleshchev
2025-08-02#3785 Set default `MediaFirstClickInteract` value to 31 (Landowner objects)Andrey Lihatskiy
2025-07-31#4465 modify vertex limit threshold for starting splittingMaxim Nikolenko
2025-07-31#4339 Remade fix for world map's find buttonAndrey Kleshchev
2025-07-31Rich Presence support using Discord Social SDK (#4457)Erik Kundiman
* Rich Presence support using Discord Social SDK Download DiscordSocialSdk-1.4.9649.zip from https://discord.com/developers/applications/1394782217405862001/social-sdk/downloads Add -DUSE_DISCORD:BOOL=ON to your cmake line. The Discord app needs to be set to be a public client in the OAuth2 tab. All Discord-related code are contained within one file, llstartup.cpp, and other classes access it through some opaque layer, static functions, otherwise we'd get these "duplicate symbol" linking errors. * Move Discord-related code to llappviewer.cpp The doFrame is the one called over and over again, so running the Discord callbacks from there shouldn't have one extra function overhead, while running the Discord initialisation is only once so it's much more okay to have the extra function overhead there. * panel_preferences_privacy tabs Add tab and checkboxes for discord social SDK integration options to panel_preferences_privacy.xml * Shorten Discord-related local variable names * Connect to Discord now through privacy tab Now the access token is saved the way passwords are saved, but without a username, so we can have some persistence without having to implement an OAuth2 backend server cause we would have to store those tokens there anyway still, and it's just simpler to not go that way. Discord Social SDK doesn't have a helper for sending code to a custom server anyway, that we would have to have some asynchronous HTTP requestor ready. Show location check button gets enabled only when Discord integration is enabled, though it's not functioning yet. * Location for Discord Rich Presence Activity State I was going to use LLAgentUI::buildLocationString but there's no location format that shows only region and coords without having to have the parcel name empty, so I copied buildLocationString implementation in the case of LOCATION_FORMAT_NO_MATURITY but when the parcel name is empty. I had to make updateDiscordActivity check agent's ID and the existence of agent avatar pointer first before trying to set Activity Details or State, cause I like the "Show location" button be checkable not only after online when both the ID & pointer will have existed. I think this way is simpler than programmatically enabling the "Show location" button after the user is logged in. I put a trigger to Activity update somewhere after the user is logged in for now, not yet after a TP. The elapsed time gets reset whenever Activity is updated for now, but I'll try to make elapsed time extended instead. No Party for now, because I couldn't find a way to make a Party shown without showing its CurrentSize (I could still get away not showing its MaxSize by setting it to 0), so the State (location) is shown above the elapsed time, not on the right of it. I'll try to figure out to get some representative numbers for its CurrentSize & MaxSize next. Also no privacy on hiding the username for now, until the UI is ready. * Update Rich Presence location on region change I had to find a spot in source code where it doesn't cause a crash (it did in LLAgent::setRegion), but I'm not removing the one in llstartup.cpp because on login, the one in llviewermessage.cpp gets only the placeholder coords (10, 10, 10). * Show display name too on Discord Rich Presence Avatar name cache can be used right away upon login now after I moved the update call to the end of PRECACHE section in llstartup. * Show Discord Rich Presence Activity Party By setting CurrentSize to the number of people within chat radius, and MaxSize to the number of people within near range. * Call updateDiscordActivity too in Discord init so when the user enables the integration after being logged in, the init can show the name and location right away. * Discord Rich Presence: Hide name & connect to llappviewer.cpp Add option to show/hide avatar name in privacy panel & connect rich presense directly to llappviewer.cpp * Discord time elapsed not reset on region change Time elapses right after viewer launch even before login. Plus parameter name change in header to make it the same as in implementation. * Cache bool setting retrievals in updateDiscordActivity As suggested by Andrey Kleschev. getBOOL and getF32 are expensive, so using `static LLCachedControl<>` is the way to do it in llappviewer.cpp. * Check Discord creds existence before getting token as suggested by Andrey Kleshchev, anticipating external factors such as user moving settings from another PC. * Tracy visibility for looped Discord function calls As suggested by Andrey Kleshchev. They likely can get pricey so they need to be visible in the profiler. * Discord-related error handling/logging plus delay saving Discord credentials to only after the access token is successfully updated on Discord, and try to disconnect from Discord when the integration gets disabled regardless whether there are credentials to delete or not and whether there's an access token to revoke or not. * Use getAvatars already called for Discord Party numbers so we don't have to make any extra getAvatars calls just for this, as it's pricy in crowds, and we'll just be piggybacking `updateSpeakerList` and `updateNearbyList`. * Assemble Discord Activity Details only once by saving it to a static global string for reuse. * Remove updateDiscordActivity call in startup loop The State field (region & coords) is updated well enough without it now. * Rename handleDiscordSocial to toggleDiscordIntegration * Update Discord Activity only when integration is enabled No need to check setting for the status change callback one, because getting there would need to be connected to Discord first, which in turn needs the integration to be enabled first. --------- Co-authored-by: Secret Foxtail <remmy@megapahit.net>
2025-07-30#4460 debug text cannot be scrolledAndrey Kleshchev
setText was being called repeatedly and was forcing scroll up. Also fixed a typo in floater_test_slapp.xml
2025-07-29Add explaination as to why we do clearing inside effect set* functionsKyler Eastridge
2025-07-29Add tool tips to the new privacy featuresKyler Eastridge
2025-07-29Fix spelling issue in settings.xmlKyler Eastridge
2025-07-29It's a target, not a hintKyler Eastridge
2025-07-29This should be off by defaultKyler Eastridge
2025-07-29Let's do 2m distance instead of 4mKyler Eastridge
2025-07-29Fix look at target privacy causing head to get stuckKyler Eastridge
2025-07-29Fix formatting issue caused by VS againKyler Eastridge
2025-07-29Expose lookat and selection hint privacy settingsKyler Eastridge
2025-07-29Initial limit look at distance codeKyler Eastridge
2025-07-29Add ability to disable look at hintsKyler Eastridge
2025-07-29Add option to disable selection hintsKyler Eastridge
2025-07-29#4385 show agent name next to @ mention url in chat logsMaxim Nikolenko
2025-07-29#3705 Add an option to hide the $L balanceAndrey Kleshchev
2025-07-28#4455 Division by zero in updateFrameStatsAndrey Kleshchev
2025-07-28Media first click interact friend check fixDarl
2025-07-28Media first click interact group check fixDarl
2025-07-28#3969 Make inventory creation from cache fasterAndrey Kleshchev
Still has a lot of space for improvements, but should be 2.5 times faster
2025-07-28#3969 Log time it takes to create inventory from cacheAndrey Kleshchev
2025-07-27Remove the first login screen (#4451)Kyler "Félix" Eastridge
* Remove panel_login_first.xml and it's components * Remove additional first login panel resources * Remove redundant comment * Remove *.jpg search from viewer manifest
2025-07-262k image resize (#4444)Kyler "Félix" Eastridge
* Fix spelling error in variable name * Resize images larger than allowed before upload * Resize bulk images if they are larger than the allow size * Fix indentation error caused by Visual Studio * Fix bulk upload cost calculation
2025-07-26Fix incorrectly calculated number in comment and where it was referencedDarl
2025-07-26Media first click interact large number value fixDarl
2025-07-26#4374 update icon for title barMaxim Nikolenko
2025-07-25Merge branch 'main' into release/2025.05Jonathan "Geenz" Goodman
2025-07-25Media first click interact self check fix (#4406, #4426)Darl
2025-07-25#3969 Log time it takes to create inventory from cacheAndrey Kleshchev
2025-07-25#4415 fix crash when cancelling large model process on MacOSMaxim Nikolenko
2025-07-24#3851 Increase cache sizeAndrey Kleshchev
Increases default to 8GB and maximum to 32GB. Viewer now supports 2K textures which require more space, so altered disk cache vs textures space a little. Made spinner a bit wider to properly fit whole cache string.
2025-07-24#4424 don't try to update theme too earlyMaxim Nikolenko
2025-07-23#4209 Outfits should have an "Add to Favorites" optionAndrey Kleshchev
2025-07-23#4400 Model Import "use lod above" was not updatingAndrey Kleshchev
2025-07-23#4374 add support for the system theme (light and dark)Maxim Nikolenko
2025-07-22#4393 Handle unknown exceptions in uploader betterAndrey Kleshchev
Output is highly technical, but better than nothing
2025-07-22Fix a crash bug and bogus calculations in LLMeshRepoThread::lodReceived() ↵Henri Beauchamp
(#4398, #4408) When trying to update the rigging info for a newly received mesh LOD, a wrong usage of LLVolume::getNumFaces() is done to get the number of volume faces, causing the code to iterate over the number of faces in the underlying LLProfile instead. LLVolume::getNumVolumeFaces() must be used here. This fixes a crash bug seen with low LODs in some meshes (when the number of mesh faces is smaller than the number of faces in the LLProfile), and also properly updates the rigging info for all mesh faces, as it should, when the mesh got more faces than the LLProfile.
2025-07-22#4318 Warn or log when texture gets scaled downAndrey Kleshchev
for material and model upload