secondlife / viewer

🖥️ Second Life's official client
GNU Lesser General Public License v2.1
206 stars 52 forks source link

"PBR Metallic Roughness" terrain materials are switched to "Terrain Textures" in the "Terrain" tab "Region/Estate" floater after applying the terrain textures/PBR materials to a region #2038

Open dmytrohproductengine opened 1 month ago

dmytrohproductengine commented 1 month ago

Environment

Second Life Release 7.1.9.9865199239 (64bit) Release Notes

You are at 213.6, 106.5, 21.5 in Product Engine located at simhost-0e1ba50d324fbebb0.agni SLURL: http://maps.secondlife.com/secondlife/Product%20Engine/214/107/22 (global coordinates 336,854.0, 307,306.0, 21.5) Second Life Server 2024-06-11.9458617693 Release Notes

CPU: Intel(R) Core(TM) i7-8700K CPU @ 3.70GHz (3696 MHz) Memory: 32688 MB OS Version: Microsoft Windows 10 64-bit (Build 19045.4651) Graphics Card Vendor: ATI Technologies Inc. Graphics Card: Radeon RX 5500 XT

Windows Graphics Driver Version: 26.20.15029.27017 OpenGL Version: 4.6.13587 Core Profile Context 20.4.2 26.20.15029.27017

Window size: 1920x1017 Font Size Adjustment: 96pt UI Scaling: 1 Draw distance: 128m Bandwidth: 3000kbit/s LOD factor: 1.5 Render quality: 4 Texture memory: 4096MB Disk cache: Max size 1638.4 MB (0.2% used)

J2C Decoder Version: KDU v7.10.4 Audio Driver Version: OpenAL, version 1.1 ALSOFT 1.23.1 / OpenAL Community / OpenAL Soft: OpenAL Soft Dullahan: 1.14.0.202310131404 CEF: 118.4.1+g3dd6078+chromium-118.0.5993.54 Chromium: 118.0.5993.54 LibVLC Version: 3.0.16 Voice Server Version: Vivox 4.10.0000.32327.5fc3fe7c.5942f08

Packets Lost: 16/4,677 (0.3%) July 16 2024 04:45:05

Description

See Reproduction steps.

Reproduction steps

  1. Download and install the Second Life Release 7.1.9.9865199239 (64bit) build.
  2. Login with the Estate manager account.
  3. Click "World"→"Region/Estate"→"Terrain" tab.
  4. Enable the "PBR Metallic Roughness" option.
  5. Choose materials.
  6. Click "Apply".
  7. Observe "Terrain textures".

Actual result: "PBR Metallic Roughness" terrain materials are switched to "Terrain Textures" in the "Terrain" tab "Region/Estate" floater after applying the terrain textures/PBR materials to a region.

Expected result: Terrain textures/materials should match after applying the terrain textures/materials to a region in the "Region/Estate" floater.

Note: This issue is reproduced on Win10/OSX.

This issue was found during ad-hoc testing of secondlife/viewer/issues/1475. Also, after closing and reopening the "Region/Estate" Terrain tab, the textures/materials are shown correctly (see "actual.mp4").

This issue is not reproduced on the current production build Second Life Release 7.1.8.9375512768.

actual.mp4 https://github.com/user-attachments/assets/100546e8-0148-4166-94a3-664f9d6c8cc3

cosmic-linden commented 1 month ago

I can't reproduce this bug, but it seems related to https://github.com/secondlife/viewer/issues/2006 , whose fix was merged into the viewer develop branch.