Commit Graph

79847 Commits (95e44923920fbd57eaeec50ae696aee80405b457)

Author SHA1 Message Date
Hecklezz 911b4e810c [FIRE-36011] Fixed RemoveItemWarn invalid notification and deleting no-mod content
Merged upstream in PR#4812
2025-10-13 22:56:03 +10:00
TJ 46b4ea4d6d
#4811 #4813 Fixed RemoveItemWarn invalid notification and deleting no-mod content (#4812)
* Fixed trying to display an invalid notification for RemoveItemWarn
* Fixed allowing deleting no-mod content if tried to be deleted twice
2025-10-13 15:37:23 +03:00
Ansariel d5175720c9 Merge branch 'master' of https://github.com/FirestormViewer/phoenix-firestorm 2025-10-13 10:59:05 +02:00
Hecklezz 4855714b46 Updated CMakeLists.txt for LLWebRTC to fix compilation issues with the updated WebRTC 2025-10-13 14:37:32 +10:00
Hecklezz 5fb339d033 Updated WebRTC.cmake to fix compilation issues with the updated WebRTC 2025-10-13 14:32:26 +10:00
Ansariel 9538e515d6 Use timing from develop branch for outfits list to smoothening first open 2025-10-12 14:31:28 +02:00
Ansariel 1368aeeef6 Merge branch 'master' of https://github.com/FirestormViewer/phoenix-firestorm 2025-10-12 13:56:02 +02:00
Andrey Kleshchev ee43165bad #4695 Fix device update causing a crash 2025-10-12 16:35:11 +10:00
Andrey Kleshchev 0dcade5e1d #4695 Fix missing voice cleanup
Cleanup is in LLVoiceClient::terminate()
gWebRTCImpl was never deleted
Added mDeviceModule security
2025-10-12 16:34:56 +10:00
Andrey Kleshchev 5a8dfe2d19 #4691 Log WebRTC termination
for diagnostic purposes
2025-10-12 16:34:35 +10:00
Roxanne Skelly 81c01ab5bc Fix indexing problem with mac devices (#4676)
* Fix indexing problem with mac devices

This resulted in the wrong device being selected.

Also, fix a shutdown crash where recording was not being stopped, hence the recording
thread was still running on shutdown and crashed because it lost access to resources.

Fix an issue with p2p calls where they're coming up muted even though the button indicates
they are unmuted.

* Always refresh device list on notification of device changes

Even when the selected device doesn't change, we need to
re-deploy it as it might have had characteristics (sampling rate, etc.) changed.

Also, we need to redeploy when the Default device has changed
2025-10-12 16:34:22 +10:00
Andrey Kleshchev cf683a2eb8 #4675 Voice indicator did not reappear after tuning
resume() was trigggering sOnCurrentChannelChanged which was wiping
participant list with no follow up updates.
2025-10-12 16:33:51 +10:00
Roxanne Skelly d070b996bd [WebRTC] Rework device handling sequence so that we can handle unplugging/re-plugging devices (#4593)
* [WebRTC] Rework device handling sequence so that we can handle unplugging/re-plugging devices

The device handling was not processing device updates in the proper sequence as
things like AEC use both input and output devices.  Devices like headsets are both
so unplugging them resulted in various mute conditions and sometimes even a crash.

Now, we update both capture and render devices at once in the proper sequence.

Test Guidance:
* Bring two users in the same place in webrtc regions.
* The 'listening' one should have a headset or something set oas 'Default'
* Press 'talk' on one, and verify the other can hear.
* Unplug the headset from the listening one.
* Validate that audio changes from the headset to the speakers.
* Plug the headset back in.
* Validate that audio changes from speakers to headset.
* Do the same type of test with the headset viewer talking.
* The microphone used should switch from the headset to the computer (it should have one)

Do other various device tests, such as setting devices explicitly, messing with the device selector, etc.

* Fix race condition when multiple change device requests might come in at once

* Update to m137

The primary feature of this commit is to update libwebrtc from m114
to m137.  This is needed to make webrtc buildable, as m114 is not buildable
by the current toolset.

m137 had some changes to the API, which required renaming or changing namespace
of some of the calls.

Additionally, this PR moves from a callback mechanism for gathering the energy
levels for tuning to a wrapper AudioDeviceModule, which gives us more control
over the audio stream.

Finally, the new m137-based webrtc has been updated to allow for 192khz audio
streams.

* Properly pass the observer setting into the inner audio device module

* Update to m137 and get rid of some noise

    This change updates to m137 from m114, which required a few API changes.

    Additionally, this fixes the hiss that happens shortly after someone unmutes: https://github.com/secondlife/server/issues/2094

    There was also an issue with a slight amount of repeated after unmuting if there was audio right before unmuting.  This is because
    the audio processing and buffering still had audio from the previous speaking session.  Now, we inject nearly a half second of
    silence into the audio buffers/processor after unmuting to flush things.

* Install nsis on windows

* Use the newer digital AGC pipeline

m137 improved the AGC pipeline and the existing analog style is going away
so move to the new digital pipeline.

Also, some tweaking for audio levels so that we don't see inworld bars when tuning,
so one's own bars seem a reasonable size, etc.

* Install NSIS during windows sisgning and package build step

* Try pinning the packaging to windows 2022 to deal with missing nsis

* Adjust gain calculation and audio level calculations for tuning and peer connections

* Update with mac universal webrtc build

* Tuning of voice indicators for both tuning mode and inworld for self.

* Redo device deployment to handle cases where multiple deploy requests pile up

Also, mute when leaving webrtc-enabled regions or parcels,
and unmute when voice comes back.

* pre commit issue
2025-10-12 16:32:18 +10:00
PanteraPolnocy 59e99b2aca FIRE-36012 Chinese translation update, by 小滢 Zi Ying 2025-10-11 20:37:51 +02:00
Ansariel 518198d268 Pathfinding navmesh isn't available without Havok anymore - remove notification 2025-10-11 18:55:49 +02:00
Ansariel e7b3d68cab Merge branch 'develop' of https://github.com/secondlife/viewer
# Conflicts:
#	autobuild.xml
#	indra/cmake/LLPhysicsExtensions.cmake
#	indra/llprimitive/CMakeLists.txt
#	indra/newview/CMakeLists.txt
#	indra/newview/lltexturectrl.cpp
#	indra/newview/llviewerobject.cpp
#	indra/newview/llviewertexture.cpp
#	indra/newview/llviewerwindow.cpp
#	indra/newview/llvovolume.cpp
#	indra/newview/skins/default/xui/en/floater_marketplace.xml
#	indra/newview/skins/default/xui/en/floater_model_preview.xml
#	indra/newview/skins/default/xui/en/floater_search.xml
2025-10-11 18:51:03 +02:00
Hecklezz 24e526a111 Corrected calcDataSizeJ2C change so it compiles on macOS and Linux 2025-10-12 02:05:02 +10:00
Ansariel b1f05340f8 Merge branch 'master' of https://github.com/FirestormViewer/phoenix-firestorm
# Conflicts:
#	indra/newview/pipeline.cpp
2025-10-11 14:41:58 +02:00
Ansariel 98a48cf1c1 Merge branch 'master' of https://github.com/FirestormViewer/phoenix-firestorm
# Conflicts:
#	indra/newview/pipeline.cpp
2025-10-11 14:35:54 +02:00
Jonathan "Geenz" Goodman 2cdcd336ba
Merge pull request #4783 from RyeMutt/rye/convexdecomp
Introduce initial VHACD based llconvexdecomposition library
2025-10-10 17:17:25 -04:00
Jonathan "Geenz" Goodman 6efde0ba83
Merge pull request #4809 from secondlife/andreyk/viewer_4777
#4777 Fix crash on missing factory
2025-10-10 17:16:47 -04:00
Hecklezz 14ae64f297 Restore allowing creating folder from selected on recent and favorites inventory panels 2025-10-11 03:43:20 +10:00
PanteraPolnocy 0f7a40f0a0 FIRE-36006 Russian translation update, by Romka Swallowtail 2025-10-10 14:56:10 +02:00
PanteraPolnocy 9d1f00968e Revert "Make snapshot guides more visible"
This reverts commit c1c6f1ed5e.
2025-10-10 08:59:40 +02:00
PanteraPolnocy 9267076ebb Make the visibility/opacity of the composition guides in snapshot view configurable via debug setting, as per request 2025-10-10 08:19:01 +02:00
Beq 2ab023156b [FIRE-35987] Slow texture loading (at least partial fix)
This fixes a specific issue that has existed for a while so it is not a full fix for FIRE-35987. It will however reduce overfetch and increased data/cache/RAM usage as a result of the overfetch.
2025-10-10 02:14:00 +01:00
PanteraPolnocy c1c6f1ed5e Make snapshot guides more visible 2025-10-09 23:47:19 +02:00
Andrey Kleshchev 3445a01990 #4782 Improve wearing multiple items 2025-10-10 00:03:18 +03:00
Andrey Kleshchev 400351f3b8 #4777 Fix crash on missing factory 2025-10-09 23:59:51 +03:00
PanteraPolnocy f6c29b0356 FIRE-35342 Show capture frame shader on screen, when relevant option is selected in snapshot floater
Still no idea why guides are not working, but adding a missing setting for them, at least
2025-10-09 22:24:54 +02:00
PanteraPolnocy f7680d408d FIRE-35990: RLVa vision spheres needs to be visible in snaphsots and inworld if "snaphsot frame" is checked
Seems to work nicely with FSRenderVignette, too - no shaders conflict there
2025-10-09 21:16:52 +02:00
PanteraPolnocy 7e84883026 FIRE-36002 Update Japanese translation, by Logue Takacs 2025-10-09 20:42:28 +02:00
Maxim Nikolenko 6e2a86f6b9 #4772 fix group ownership detection for deeded objects (FS:TJ- Fixes issue FIRE-35983) 2025-10-10 04:27:49 +10:00
Ansariel f0d5e27b39 Update German translation 2025-10-09 19:28:29 +02:00
Andrey Kleshchev c15ba8799d #4806 Crash at getPrimaryFormat
According to bugsplat tex is null
2025-10-09 19:39:11 +03:00
Andrey Kleshchev 821adc997d #4794 SceneLoadRearMaxRadiusFraction not stored as a fraction - <FS:minerjr> Cherry-pick to fix issue FIRE-36003
Reported issue to LL GitHub and FS JIRA FIRE-36003
LL Issue: https://github.com/secondlife/viewer/issues/4794
Linked to FS issue and cherry picked to pull in fix.

Inital Issue:
When you look at the SceneLoadRearMaxRadiusFraction value stored in the settings.xml, you will notice that the value is set to 75.0 for a float value. And the comments mention it is suppose to be fraction.

The code that uses it is for scaling the amount of the scene behind the visible camera is loaded. The issue is because the calculation no longer is divided by 100.0f, the draw distance is multiplied by the value and then clamped at the draw distance value. So it is effectively only ever the draw distance and not the default 75% of it. So a 256 draw distance is locked at 256 meters instead of 192.

This causes more objects to load behind the user, especially very far objects which can cause more RAM and VRAM usage, especially on teleport.
2025-10-09 12:19:30 -03:00
Andrey Kleshchev c257304ae7 #4803 Fix crash on cameraUnderWater
updateEnvironment tried to access dead camera
2025-10-09 01:04:34 +03:00
Callum Linden 95337dfc36
Fix for viewer-private/issues/489 - HTTP Basic Auth dialog should not be present (#4799) 2025-10-08 15:39:23 -04:00
Andrey Kleshchev 6fc138dc44 p#351 Mark RenderMaxOpenGLVersion as Windows specific 2025-10-08 22:29:16 +03:00
Jonathan "Geenz" Goodman 9e71e1ca38
Move the irradiance gen unbind to be within the correct scope. (#4798) 2025-10-08 14:52:33 -04:00
Brad Linden dd59dd5d65
Merge pull request #4775 from secondlife/brad/llphysicsextensions-fallback
Reenabled Havok LLPhysicsExtensions for Rosetta
2025-10-08 09:33:18 -07:00
Andrey Kleshchev d76d0c239c #4796 Preferences' mic volume slider had no effect. 2025-10-08 17:33:48 +03:00
PanteraPolnocy 1e254bb4c7 Add an option to disable reset buttons in camera floaters 2025-10-08 14:50:11 +02:00
Cosmic Linden 69d7c0f7ef secondlife/viewer#2570: Fix baked texture shared between avatars when in PBR material 2025-10-07 20:02:49 +03:00
Andrey Kleshchev eb9cb1ab8c #4794 SceneLoadRearMaxRadiusFraction not stored as a fraction 2025-10-07 17:46:46 +03:00
Maxim Nikolenko 688224a6cb
#4772 fix group ownership detection for deeded objects 2025-10-07 17:25:50 +03:00
Andrey Kleshchev 56cb655fbe #4773 Crash on sub_image_lines (FS:TJ- Follow-up cherry-pick to fix out of bounds discard_levels)
Just caught it and discard_level is somehow 7, which seems like it resulted in src going out of bounds, which crashed glTexSubImage2D
2025-10-07 19:50:37 +10:00
Andrey Kleshchev d9db7bb645 p#480 Collada vs GLTF Mesh Import Naming Convention
Both collada and gltf have a node and a mesh. Collada uses node-name, gltf was using mesh-name.
GLTF format permits reusing single mesh for multiple nodes, but nodes are warrantied to not be reused.

Switch to using node-names for better dupplicate avoidance and to be more in line with collada.
2025-10-06 18:32:19 +03:00
Andrey Kleshchev 9c28607a7c #4195 Clear code from a merge conflict
This part was removed unintentionally, due to a merge conflict resolution.
2025-10-06 17:09:01 +03:00
Aqil Ahmad 5fe152cfea
Fix #4195: Preserve transforms when switching PBR materials (#4725)
Fixes texture transforms being reset when switching from Blinn-Phong to PBR materials and between PBR. Previously, custom scale, offset, and rotation settings would be lost, making it tedious to switch between PBR materials.
2025-10-06 16:52:33 +03:00