Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
75 commits
Select commit Hold shift + click to select a range
420bc85
#4751 Restore navigation UI for Marketplace and Search
maxim-productengine Sep 30, 2025
589498f
Reenable havok llphysicsextensions on Darwin x86_64 with llphysicsext…
brad-linden Oct 2, 2025
b8cf54d
Fix configurations like windows where LLPHYSICSEXTENSIONS_STUB_DIR is…
brad-linden Oct 2, 2025
fc41f57
Attempt to fix build error
brad-linden Oct 2, 2025
99d8f22
#4757 Model uploader warning when physics library is missing
akleshchev Oct 2, 2025
b314a0b
new llphysicsextensions_source package that sets OSX_ARCHITECTURES pr…
brad-linden Oct 2, 2025
e30bc61
Restore creation of secondlife-bin.MAP file on Darwin x86_64 for prod…
brad-linden Oct 2, 2025
9a41335
Fix infinite growth of mLoadingPhysicsShapes in mesh repository
RyeMutt Oct 2, 2025
b277cc6
Initial VHACD based llconvexdecomposition
RyeMutt Sep 18, 2025
949d20c
Merge remote-tracking branch 'origin/release/2025.07' into brad/llphy…
brad-linden Oct 3, 2025
c440843
disable package_llphysicsextensions_tpv for now
brad-linden Oct 3, 2025
dd59dd5
Merge pull request #4775 from secondlife/brad/llphysicsextensions-fal…
brad-linden Oct 8, 2025
9e71e1c
Move the irradiance gen unbind to be within the correct scope. (#4798)
Geenz Oct 8, 2025
95337df
Fix for viewer-private/issues/489 - HTTP Basic Auth dialog should not…
callumlinden Oct 8, 2025
400351f
#4777 Fix crash on missing factory
akleshchev Oct 9, 2025
6efde0b
Merge pull request #4809 from secondlife/andreyk/viewer_4777
Geenz Oct 10, 2025
2cdcd33
Merge pull request #4783 from RyeMutt/rye/convexdecomp
Geenz Oct 10, 2025
46b4ea4
#4811 #4813 Fixed RemoveItemWarn invalid notification and deleting no…
Hecklezz Oct 13, 2025
3825722
viewer#3018 Expose mouse wrap in UI
akleshchev Nov 12, 2024
449f64c
#2818 Creating a link to an empty notecard fails
akleshchev Oct 13, 2025
062b8d1
Fix Japanese Translation (#743)
sakuranoelfayray Oct 13, 2025
083a971
Avoid stack-buffer overruns in llprocess_test.cpp (#4824)
marchcat Oct 13, 2025
57a9e51
#4819 WebRTC crashes after a failed login
akleshchev Oct 13, 2025
167b7ba
#3263 Repeat Notification Noise on Find Emoji Floater
akleshchev Oct 14, 2025
851a503
#3971 Fix wrong material type when 'editing linked'
akleshchev Oct 14, 2025
1f608d8
p#490 Fix missing Lossless check
akleshchev Oct 15, 2025
8679b86
#2570 Fix extra setGLTFRenderMaterial
akleshchev Oct 15, 2025
6cdd9cf
Fix C26444 compiler warning (creating unnamed RAII instances that cou…
Ansariel Oct 15, 2025
9f19243
#2531 Fix gray background tiles in the Minimap (#4815)
fmartian Oct 16, 2025
790c52f
Fix erroneous check for __attribute__ definition introduced with APR …
Ansariel Oct 14, 2025
03fa846
#4757 Fix missing quotes
akleshchev Oct 16, 2025
b011263
#3379 Fix callback cleanup
akleshchev Oct 16, 2025
ad374a0
#4701 Fix incorrect architecture in package's name
akleshchev Oct 16, 2025
01a7994
Merge pull request #4842 from secondlife/andreyk/viewer_4701
Geenz Oct 16, 2025
aec7bf1
Merge pull request #4714 from secondlife/release/2025.07
Geenz Oct 17, 2025
bbc2ad8
Merge remote-tracking branch 'origin/main' into geenz/main-to-develop
Geenz Oct 17, 2025
3ca323d
Merge pull request #4850 from secondlife/geenz/main-to-develop
Geenz Oct 17, 2025
0182399
Bump viewer version tp 7.2.3 after 2025.07 release
akleshchev Oct 18, 2025
f0d8e8f
Introduce dependabot configuration for Github Actions (#4859)
RyeMutt Oct 20, 2025
11f73b0
Fix tabs and trailing spaces in objc sources
RyeMutt Oct 19, 2025
993851c
Ignore tabs to spaces for objc in blame
RyeMutt Oct 19, 2025
c847a5e
Update pre-commit hooks to v6.0.0
RyeMutt Oct 19, 2025
41e9595
Rework new convex decomp into a physicsextensions stub package and fi…
RyeMutt Oct 20, 2025
0369072
#4861 Crash at LLVolumeFace::createOctree
akleshchev Oct 20, 2025
53041ad
Bump pre-commit/action from 3.0.0 to 3.0.1 (#4864)
dependabot[bot] Oct 20, 2025
6f1df1a
Bump actions/checkout from 4 to 5 (#4867)
dependabot[bot] Oct 20, 2025
e129581
Improve LLFile to be consistent between Windows and Linux/Mac
RolfKal Oct 14, 2025
49a850c
Remove a trailing space and a missed LLFile::remove() call right befo…
RolfKal Oct 15, 2025
2adf1bb
Remove trailing space
RolfKal Oct 16, 2025
f58a7c7
Make changes according to recommendations by Copilot
fmartian Oct 18, 2025
aa49a3d
Fix typo in comment
fmartian Oct 20, 2025
528c4b5
#2427 Show torn off chat when clicking on a message popup
akleshchev Oct 20, 2025
9a2ff16
#4871 Fix webrtc crash on tuningGetEnergy
akleshchev Oct 21, 2025
0d5138c
#4839 Crash at LLPluginProcessParent::poll
akleshchev Oct 21, 2025
4e2a966
Merge from secondlife/develop into 2025.08
akleshchev Oct 21, 2025
1649124
Fix issue where mac was crashing during an attempt to unplug or replu…
roxanneskelly Oct 28, 2025
5a0ba25
#4882 Log textures that failed to be created
akleshchev Oct 28, 2025
0fd96e6
#4604 Turn off cef preloading on low end hardware
akleshchev Oct 28, 2025
dab2fa7
#4876 Fix material not applying
akleshchev Oct 22, 2025
1c393ae
#4884 Crash at resetRegionCrossingTimer
akleshchev Oct 23, 2025
1fc0eca
#4886 Crash on LLTeleportRequestViaLure::toOstream
akleshchev Oct 23, 2025
a125524
#4847 log session_jitter and period_jitter with FPS info
maxim-productengine Oct 31, 2025
f7516a4
#4918 Crash at LLPluginProcessParent::poll
akleshchev Oct 31, 2025
6979b1f
#4920 fix group categories not being displayed when one below is expa…
maxim-productengine Nov 3, 2025
d233799
#4879 An Emoji in a display name can affect text in chat
akleshchev Oct 27, 2025
11ccdb5
Fix XUI parser warnings:
Ansariel Oct 31, 2025
c7c8d81
Use correct widget name for marketplace floater
Ansariel Nov 4, 2025
5e11448
Fix remaining cases of webbrowser-related XUI warnings
Ansariel Nov 4, 2025
2b8dc2f
#4785 The Apply button is not activated after changing a Material
akleshchev Nov 5, 2025
7a7215b
#1006 Assume default material is valid for terrain assigment
akleshchev Nov 5, 2025
3694df7
#4656 Don't scroll to a child that is already in view and can not fit
akleshchev Nov 6, 2025
4e78b4c
#4651 Distinguish logout crashes from other crashes
akleshchev Nov 6, 2025
bcecb3d
#4949 QueuedRequest destructor crash
akleshchev Nov 9, 2025
0ceefe6
Disable shader profiles on RDNA3.5 to prevent freezes on startup. (#4…
Geenz Nov 12, 2025
ceba070
Merge branch 'release/2025.08' into marchcat/slua-2508
marchcat Nov 13, 2025
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
1 change: 1 addition & 0 deletions .git-blame-ignore-revs
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
# Replace tabs with spaces
1b68f71348ecf3983b76b40d7940da8377f049b7
33418a77b716e122da9778869cdbabe97c83ff37
6b974724826a038b0db794460b322eb4921da735
# Trim trailing whitespace
a0b3021bdcf76859054fda8e30abb3ed47749e83
8444cd9562a6a7b755fcb075864e205122354192
Expand Down
7 changes: 7 additions & 0 deletions .github/dependabot.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@
version: 2
updates:

- package-ecosystem: github-actions
directory: /
schedule:
interval: monthly
6 changes: 3 additions & 3 deletions .github/workflows/build.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -86,7 +86,7 @@ jobs:
variants: ${{ matrix.configuration }}
steps:
- name: Checkout code
uses: actions/checkout@v4
uses: actions/checkout@v5
with:
ref: ${{ github.event.pull_request.head.sha || github.sha }}

Expand All @@ -95,14 +95,14 @@ jobs:
with:
python-version: "3.11"
- name: Checkout build variables
uses: actions/checkout@v4
uses: actions/checkout@v5
with:
repository: secondlife/build-variables
ref: master
path: .build-variables

- name: Checkout master-message-template
uses: actions/checkout@v4
uses: actions/checkout@v5
with:
repository: secondlife/master-message-template
path: .master-message-template
Expand Down
4 changes: 2 additions & 2 deletions .github/workflows/pre-commit.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -11,8 +11,8 @@ jobs:
pre-commit:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- uses: actions/checkout@v5
- uses: actions/setup-python@v4
with:
python-version: 3.x
- uses: pre-commit/action@v3.0.0
- uses: pre-commit/action@v3.0.1
8 changes: 4 additions & 4 deletions .pre-commit-config.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -7,14 +7,14 @@ repos:
- id: no-trigraphs
- id: copyright
- id: end-of-file
files: \.(cpp|c|h|py|glsl|cmake|txt)$
files: \.(cpp|c|m|mm|h|py|glsl|cmake|txt)$
exclude: language.txt
- id: indent-with-spaces
files: \.(cpp|c|h|inl|py|glsl|cmake)$
files: \.(cpp|c|m|mm|h|inl|py|glsl|cmake)$
- repo: https://github.com/pre-commit/pre-commit-hooks
rev: v5.0.0
rev: v6.0.0
hooks:
- id: check-xml
- id: mixed-line-ending
- id: trailing-whitespace
files: \.(cpp|c|h|inl|py|glsl|cmake|yaml|sh)$
files: \.(cpp|c|m|mm|h|inl|py|glsl|cmake|yaml|sh)$
134 changes: 41 additions & 93 deletions autobuild.xml
Original file line number Diff line number Diff line change
Expand Up @@ -450,11 +450,11 @@
<key>archive</key>
<map>
<key>hash</key>
<string>d44256458ff0ef4db4c91e8e8cc83e8f98b4f1b8</string>
<string>126e0fa4c16dfd433c9fb7d1d242da98f213d933</string>
<key>hash_algorithm</key>
<string>sha1</string>
<key>url</key>
<string>https://github.com/secondlife/dullahan/releases/download/v1.21.0-CEF_139.0.28/dullahan-1.21.0.202508272158_139.0.28_g55ab8a8_chromium-139.0.7258.139-darwin64-17279703032.tar.zst</string>
<string>https://github.com/secondlife/dullahan/releases/download/v1.24.0-CEF_139.0.40/dullahan-1.24.0.202510081737_139.0.40_g465474a_chromium-139.0.7258.139-darwin64-18353103947.tar.zst</string>
</map>
<key>name</key>
<string>darwin64</string>
Expand All @@ -478,11 +478,11 @@
<key>archive</key>
<map>
<key>hash</key>
<string>9d5af766a87052808e4062978504e9af124fb558</string>
<string>20de62c9e57d9e6539c1e2437ec4b46c3ca237bc</string>
<key>hash_algorithm</key>
<string>sha1</string>
<key>url</key>
<string>https://github.com/secondlife/dullahan/releases/download/v1.21.0-CEF_139.0.28/dullahan-1.21.0.202508272159_139.0.28_g55ab8a8_chromium-139.0.7258.139-windows64-17279703032.tar.zst</string>
<string>https://github.com/secondlife/dullahan/releases/download/v1.24.0-CEF_139.0.40/dullahan-1.24.0.202510081738_139.0.40_g465474a_chromium-139.0.7258.139-windows64-18353103947.tar.zst</string>
</map>
<key>name</key>
<string>windows64</string>
Expand All @@ -495,7 +495,7 @@
<key>copyright</key>
<string>Copyright (c) 2017, Linden Research, Inc.</string>
<key>version</key>
<string>1.21.0.202508272158_139.0.28_g55ab8a8_chromium-139.0.7258.139</string>
<string>1.24.0.202510081737_139.0.40_g465474a_chromium-139.0.7258.139</string>
<key>name</key>
<string>dullahan</string>
<key>description</key>
Expand Down Expand Up @@ -1432,53 +1432,21 @@
<map>
<key>platforms</key>
<map>
<key>darwin64</key>
<map>
<key>archive</key>
<map>
<key>creds</key>
<string>github</string>
<key>hash</key>
<string>7facda95e2f00c260513f3d4db42588fa8ba703c</string>
<key>hash_algorithm</key>
<string>sha1</string>
<key>url</key>
<string>https://api.github.com/repos/secondlife/llphysicsextensions_source/releases/assets/196289774</string>
</map>
<key>name</key>
<string>darwin64</string>
</map>
<key>linux64</key>
<map>
<key>archive</key>
<map>
<key>creds</key>
<string>github</string>
<key>hash</key>
<string>01d08f13c7bc8d1b95b0330fa6833b7d8274e4d0</string>
<key>hash_algorithm</key>
<string>sha1</string>
<key>url</key>
<string>https://api.github.com/repos/secondlife/llphysicsextensions_source/releases/assets/196289775</string>
</map>
<key>name</key>
<string>linux64</string>
</map>
<key>windows64</key>
<key>common</key>
<map>
<key>archive</key>
<map>
<key>creds</key>
<string>github</string>
<key>hash</key>
<string>6d00345c7d3471bc5f7c1218e014dd0f1a2c069b</string>
<string>fff82c79edb900c547c40dca9a0e3ebac5a8c7da</string>
<key>hash_algorithm</key>
<string>sha1</string>
<key>url</key>
<string>https://api.github.com/repos/secondlife/llphysicsextensions_source/releases/assets/196289778</string>
<string>https://api.github.com/repos/secondlife/llphysicsextensions_source/releases/assets/299858950</string>
</map>
<key>name</key>
<string>windows64</string>
<string>common</string>
</map>
</map>
<key>license</key>
Expand All @@ -1492,58 +1460,6 @@
<key>name</key>
<string>llphysicsextensions_source</string>
</map>
<key>llphysicsextensions_stub</key>
<map>
<key>platforms</key>
<map>
<key>darwin64</key>
<map>
<key>archive</key>
<map>
<key>hash</key>
<string>f290b000b31f9e36f2489946cbc99f5e</string>
<key>url</key>
<string>http://automated-builds-secondlife-com.s3.amazonaws.com/ct2/59995/563653/llphysicsextensions_stub-1.0.542456-darwin64-542456.tar.bz2</string>
</map>
<key>name</key>
<string>darwin64</string>
</map>
<key>linux64</key>
<map>
<key>archive</key>
<map>
<key>hash</key>
<string>711f4ec769e4b5f59ba25ee43c11bcbc</string>
<key>url</key>
<string>http://automated-builds-secondlife-com.s3.amazonaws.com/ct2/4724/14846/llphysicsextensions_stub-1.0.504712-linux64-504712.tar.bz2</string>
</map>
<key>name</key>
<string>linux64</string>
</map>
<key>windows64</key>
<map>
<key>archive</key>
<map>
<key>hash</key>
<string>2e5f1f7046a49d8b0bc295aa878116bc</string>
<key>url</key>
<string>http://automated-builds-secondlife-com.s3.amazonaws.com/ct2/60043/564063/llphysicsextensions_stub-1.0.542456-windows-542456.tar.bz2</string>
</map>
<key>name</key>
<string>windows64</string>
</map>
</map>
<key>license</key>
<string>internal</string>
<key>license_file</key>
<string>LICENSES/llphysicsextensions.txt</string>
<key>copyright</key>
<string>Copyright (c) 2010, Linden Research, Inc.</string>
<key>version</key>
<string>1.0.542456</string>
<key>name</key>
<string>llphysicsextensions_stub</string>
</map>
<key>llphysicsextensions_tpv</key>
<map>
<key>platforms</key>
Expand Down Expand Up @@ -2966,6 +2882,38 @@ Copyright (c) 2012, 2014, 2015, 2016 nghttp2 contributors</string>
<key>description</key>
<string>Discord Social SDK</string>
</map>
<key>vhacd</key>
<map>
<key>platforms</key>
<map>
<key>common</key>
<map>
<key>archive</key>
<map>
<key>hash</key>
<string>140d8fc952a10edb5f2d72ab405336019ef32cadfa64f0cfce76c9de4bc6268cbc87cc8cd89d3417fb78b531d441701afc8d016bafe4bd275df2707f7daf1387</string>
<key>hash_algorithm</key>
<string>blake2b</string>
<key>url</key>
<string>https://github.com/AlchemyViewer/3p-vhacd/releases/download/v4.1.0-r2/vhacd-4.1.0-r2-common-18166921729.tar.zst</string>
</map>
<key>name</key>
<string>common</string>
</map>
</map>
<key>license</key>
<string>BSD</string>
<key>license_file</key>
<string>LICENSES/vhacd.txt</string>
<key>copyright</key>
<string>Copyright (c) 2011, Khaled Mamou</string>
<key>version</key>
<string>4.1.0-r2</string>
<key>name</key>
<string>vhacd</string>
<key>description</key>
<string>Voxelized Hierarchical Approximate Convex Decomposition</string>
</map>
<key>websocketpp</key>
<map>
<key>platforms</key>
Expand Down
7 changes: 3 additions & 4 deletions build.sh
Original file line number Diff line number Diff line change
Expand Up @@ -70,7 +70,7 @@ installer_Darwin()
{
local package_name="$1"
local package_dir="$(build_dir_Darwin)/newview/"
local pattern=".*$(viewer_channel_suffix ${package_name})_[0-9]+_[0-9]+_[0-9]+_[0-9]+_x86_64\\.dmg\$"
local pattern=".*$(viewer_channel_suffix ${package_name})_[0-9]+_[0-9]+_[0-9]+_[0-9]+_universal\\.dmg\$"
# since the additional packages are built after the base package,
# sorting oldest first ensures that the unqualified package is returned
# even if someone makes a qualified name that duplicates the last word of the base name
Expand Down Expand Up @@ -158,7 +158,6 @@ pre_build()

if [[ "$arch" == "Darwin" ]]
then
HAVOK=OFF
SIGNING=("-DENABLE_SIGNING:BOOL=YES" \
"-DSIGNING_IDENTITY:STRING=Developer ID Application: Linden Research, Inc.")
fi
Expand Down Expand Up @@ -262,8 +261,8 @@ build()
done
fi

# *TODO: Make this a build extension.
package_llphysicsextensions_tpv || fatal "failed building llphysicsextensions packages"
# *TODO: Make this a build extension. disabled for now
# package_llphysicsextensions_tpv || fatal "failed building llphysicsextensions packages"
end_section "extensions $variant"

else
Expand Down
1 change: 1 addition & 0 deletions indra/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -70,6 +70,7 @@ add_subdirectory(${LIBS_OPEN_PREFIX}llinventory)
add_subdirectory(${LIBS_OPEN_PREFIX}llmath)
add_subdirectory(${LIBS_OPEN_PREFIX}llmeshoptimizer)
add_subdirectory(${LIBS_OPEN_PREFIX}llmessage)
add_subdirectory(${LIBS_OPEN_PREFIX}llphysicsextensionsos)
add_subdirectory(${LIBS_OPEN_PREFIX}llprimitive)
add_subdirectory(${LIBS_OPEN_PREFIX}llrender)
add_subdirectory(${LIBS_OPEN_PREFIX}llfilesystem)
Expand Down
5 changes: 5 additions & 0 deletions indra/cmake/APR.cmake
Original file line number Diff line number Diff line change
Expand Up @@ -31,3 +31,8 @@ if(DARWIN)
endif()

target_include_directories(ll::apr SYSTEM INTERFACE ${LIBS_PREBUILT_DIR}/include/apr-1)

# Fix erroneous check for __attribute__ definition introduced with APR 1.7.5, causing lots of "this declaration may not have extern 'C' linkage" errors in VS
file(READ ${LIBS_PREBUILT_DIR}/include/apr-1/apr.h APR_HEADER_CONTENTS)
string(REPLACE "#if !(defined(__attribute__) || defined(__has_attribute))" "#if !defined(__attribute__)" APR_HEADER_CONTENTS "${APR_HEADER_CONTENTS}")
file(WRITE ${LIBS_PREBUILT_DIR}/include/apr-1/apr.h "${APR_HEADER_CONTENTS}")
1 change: 1 addition & 0 deletions indra/cmake/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -62,6 +62,7 @@ set(cmake_SOURCE_FILES
UI.cmake
UnixInstall.cmake
Variables.cmake
VHACD.cmake
ViewerMiscLibs.cmake
VisualLeakDetector.cmake
LibVLCPlugin.cmake
Expand Down
29 changes: 20 additions & 9 deletions indra/cmake/LLPhysicsExtensions.cmake
Original file line number Diff line number Diff line change
Expand Up @@ -22,14 +22,25 @@ if (HAVOK)
include(Havok)
use_prebuilt_binary(llphysicsextensions_source)
set(LLPHYSICSEXTENSIONS_SRC_DIR ${LIBS_PREBUILT_DIR}/llphysicsextensions/src)
target_link_libraries( llphysicsextensions_impl INTERFACE llphysicsextensions)
if(DARWIN)
set(LLPHYSICSEXTENSIONS_STUB_DIR ${LIBS_PREBUILT_DIR}/llphysicsextensions/stub)
# can't set these library dependencies per-arch here, need to do it using XCODE_ATTRIBUTE_OTHER_LDFLAGS[arch=*] in newview/CMakeLists.txt
#target_link_libraries( llphysicsextensions_impl INTERFACE llphysicsextensions)
#target_link_libraries( llphysicsextensions_impl INTERFACE llphysicsextensionsstub)
else()
target_link_libraries( llphysicsextensions_impl INTERFACE llphysicsextensions)
target_compile_definitions( llphysicsextensions_impl INTERFACE LL_HAVOK=1 )
endif()
target_include_directories( llphysicsextensions_impl INTERFACE ${LIBS_PREBUILT_DIR}/include/llphysicsextensions)
elseif (HAVOK_TPV)
use_prebuilt_binary(llphysicsextensions_tpv)
target_link_libraries( llphysicsextensions_impl INTERFACE llphysicsextensions_tpv)
else (HAVOK)
use_prebuilt_binary(llphysicsextensions_stub)
set(LLPHYSICSEXTENSIONS_SRC_DIR ${LIBS_PREBUILT_DIR}/llphysicsextensions/stub)
target_link_libraries( llphysicsextensions_impl INTERFACE llphysicsextensionsstub)
endif (HAVOK)

target_include_directories( llphysicsextensions_impl INTERFACE ${LIBS_PREBUILT_DIR}/include/llphysicsextensions)
if (NOT DARWIN)
if(WINDOWS)
target_link_libraries( llphysicsextensions_impl INTERFACE ${ARCH_PREBUILT_DIRS}/llphysicsextensions_tpv.lib)
elseif(LINUX)
target_link_libraries( llphysicsextensions_impl INTERFACE ${ARCH_PREBUILT_DIRS}/libllphysicsextensions_tpv.a)
endif()
target_compile_definitions( llphysicsextensions_impl INTERFACE LL_HAVOK=1 )
endif()
target_include_directories( llphysicsextensions_impl INTERFACE ${LIBS_PREBUILT_DIR}/include/llphysicsextensions)
endif ()
9 changes: 9 additions & 0 deletions indra/cmake/VHACD.cmake
Original file line number Diff line number Diff line change
@@ -0,0 +1,9 @@
# -*- cmake -*-
include(Prebuilt)

add_library(ll::vhacd INTERFACE IMPORTED)

use_system_binary(vhacd)
use_prebuilt_binary(vhacd)

target_include_directories(ll::vhacd SYSTEM INTERFACE ${LIBS_PREBUILT_DIR}/include/vhacd/)
1 change: 1 addition & 0 deletions indra/llappearance/llpolymesh.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -283,6 +283,7 @@ bool LLPolyMeshSharedData::loadMesh( const std::string& fileName )
LLFILE* fp = LLFile::fopen(fileName, "rb"); /*Flawfinder: ignore*/
if (!fp)
{
LLError::LLUserWarningMsg::showMissingFiles();
LL_ERRS() << "can't open: " << fileName << LL_ENDL;
return false;
}
Expand Down
5 changes: 4 additions & 1 deletion indra/llappearance/lltexlayer.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -1890,7 +1890,10 @@ LLGLTexture* LLTexLayerStaticImageList::getTexture(const std::string& file_name,

image_raw->copyUnscaledAlphaMask(alpha_image_raw, LLColor4U::black);
}
tex->createGLTexture(0, image_raw, 0, true, LLGLTexture::LOCAL);
if (!tex->createGLTexture(0, image_raw, 0, true, LLGLTexture::LOCAL))
{
LL_WARNS() << "Failed to create GL texture for image: " << file_name << LL_ENDL;
}

gGL.getTexUnit(0)->bind(tex);
tex->setAddressMode(LLTexUnit::TAM_CLAMP);
Expand Down
5 changes: 4 additions & 1 deletion indra/llappearance/lltexlayerparams.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -338,7 +338,10 @@ bool LLTexLayerParamAlpha::render(S32 x, S32 y, S32 width, S32 height)
// Create the GL texture, and then hang onto it for future use.
if (mNeedsCreateTexture)
{
mCachedProcessedTexture->createGLTexture(0, mStaticImageRaw);
if (!mCachedProcessedTexture->createGLTexture(0, mStaticImageRaw))
{
LL_WARNS() << "Failed to create GL texture for image: " << mCachedProcessedTexture->getID() << LL_ENDL;
}
mNeedsCreateTexture = false;
gGL.getTexUnit(0)->bind(mCachedProcessedTexture);
mCachedProcessedTexture->setAddressMode(LLTexUnit::TAM_CLAMP);
Expand Down
Loading
Loading