Commit Graph

142 Commits (b3a549b8b5e01809b2dd2006d6bf92a7a4d6baf7)

Author SHA1 Message Date
Ansariel 8d220e4973 Merge branch 'release/2025.06' of https://github.com/secondlife/viewer
# Conflicts:
#	indra/newview/llmeshrepository.cpp
#	indra/newview/viewer_manifest.py
2025-08-25 20:42:31 +02:00
Andrey Kleshchev e01c447745 #4581 Crash on LL::GLTF::copy
Tried to initialize LLVector2 TexCoords with vector3 data?
2025-08-20 22:32:42 +03:00
Ansariel 806b4b1f9d Sync with upstream fix 2025-08-16 13:38:39 +02:00
Ansariel df2df95a88 Reapply "Fix RelWithDebug compile issue in gltf\asset.cpp"
This reverts commit 42bf6d155e.
2025-08-16 11:46:57 +02:00
minerjr 42bf6d155e Revert "Fix RelWithDebug compile issue in gltf\asset.cpp"
This reverts commit 0898e6dbb8.
2025-08-15 19:54:21 -03:00
minerjr 0898e6dbb8 Fix RelWithDebug compile issue in gltf\asset.cpp
In indra\newview\gltf\asset.cpp when you compile in Visual Studio for windows with RelWithDebug, there is a compiling error due to #if being used instead #ifdef as the rest of the codebase uses. This is with the latest Visual Studio  17.14.11.

The error given is
Severity	Code	Description	Project	File	Line	Suppression State	Details
Error (active)	E0029	expected an expression	firestorm-bin	G:\minerjr\firestorm\phoenix-firestorm\indra\newview\gltf\asset.cpp	592

Just changed #if's to #ifdef.

Also moved the second #if to #ifdef on line 611 up before the assert as in Release both checks use the attribute_mask which is not defined as its only exists when SHOW_ASSERT exists.
2025-08-15 14:34:04 -03:00
Ansariel 0d8af269df Fix remaining unused variable issues 2025-08-11 13:53:56 +02:00
Beq 0b258ac678 Address g++ compiler warnings, so we can move to g++14
Avoid uninitialized variable warnings on Linux/g++ by initializing translation_override in LLGLTFLoader.

Force the empty callback in LLPanelRegionTerrainInfo to decay to a function pointer to avoid warnings on Linux.

Remove initialization of mViewerObject in LLReflectionMap.h so that we are standards compliant.

(also paired with commit on fs-build-variables to ignore non-null warnings due to gcc stupidity)
2025-08-09 18:59:33 +01:00
Ansariel 5af8801119 Merge branch 'main' of https://github.com/secondlife/viewer 2025-08-09 02:24:48 +02:00
Andrey Kleshchev f338b91f7c #4483 Fix gltf not opening unicode paths 2025-08-04 18:20:50 +03:00
Maxim Nikolenko 8240af03b9
#4465 modify vertex limit threshold for starting splitting 2025-07-31 19:55:28 +03:00
Ansariel f37e2785d5 Merge branch 'release/2025.05' of https://github.com/secondlife/viewer
# Conflicts:
#	indra/newview/skins/default/xui/en/panel_preferences_sound.xml
2025-07-27 12:54:37 +02:00
Andrey Kleshchev 472ea3b49a #4393 Handle unknown exceptions in uploader better
Output is highly technical, but better than nothing
2025-07-22 21:49:19 +03:00
Andrey Kleshchev d84897967e #4318 Warn or log when texture gets scaled down
for material and model upload
2025-07-22 19:16:26 +03:00
Ansariel bfd99549b0 Merge branch 'release/2025.05' of https://github.com/secondlife/viewer
# Conflicts:
#	.github/pull_request_template.md
#	indra/llappearance/lltexlayer.cpp
#	indra/llcommon/llthread.cpp
#	indra/llprimitive/lldaeloader.cpp
#	indra/llprimitive/lldaeloader.h
#	indra/llprimitive/llmodel.cpp
#	indra/newview/CMakeLists.txt
#	indra/newview/VIEWER_VERSION.txt
#	indra/newview/app_settings/settings.xml
#	indra/newview/llmodelpreview.cpp
#	indra/newview/lltoolpie.cpp
#	indra/newview/skins/default/xui/en/floater_model_preview.xml
#	indra/newview/skins/default/xui/en/panel_preferences_sound.xml
2025-07-18 14:14:54 +02:00
Andrey Lihatskiy b046a8b72a #4204 Cache material names, centralize texture index validation 2025-07-15 18:43:51 +00:00
Andrey Lihatskiy d033bbacf0 #4204 Refactor material name and texture handling in GLTF loader 2025-07-14 15:45:53 +00:00
Andrey Lihatskiy 63134f7943 #4204 Cache processed materials 2025-07-14 13:22:41 +00:00
Andrey Kleshchev edaf157e19 #4314 Fix model suffixes #2 2025-07-09 16:28:03 +03:00
Andrey Lihatskiy e77e74ffbb #4314 Follow-up: duplicate logic for mSubmodelID 2025-07-09 13:23:15 +03:00
Maxim Nikolenko 5a8b94bea6
#4324 sort indices before splits 2025-07-09 13:03:34 +03:00
Andrey Kleshchev 60425f69f7 #4314 Fix model suffixes
Usecase: Unable to use the same GLB model for physics
2025-07-08 23:13:19 +03:00
Andrey Kleshchev b7dbe0e49e #4290 Unresponsive viewer when uploading models
Fix severe log spam
2025-07-08 00:52:35 +03:00
Maxim Nikolenko b6343d4169
#4323 fix for transparent meshes 2025-07-04 20:37:29 +03:00
Andrey Kleshchev f1701d3373 #4242 Make sure group array is initialized
MacOS doesn't seem to like missing init.
2025-07-04 00:24:30 +03:00
Andrey Kleshchev 5a0bbdc510 #4242 Debug dump improvement
for better comparison with collada output
2025-07-03 00:32:58 +03:00
Andrey Kleshchev b79feb60f5 #4242 Clarify some operations
and make scale application a bit more valid
2025-07-02 18:50:29 +03:00
Andrey Kleshchev 900516a449 #4142 Fix missed index 2025-07-02 01:40:50 +03:00
Andrey Kleshchev 76dd9385f9 #4315 Crash in GLTF uploader
Properly handle importer's crashes in general
2025-07-02 01:40:50 +03:00
Andrey Kleshchev fcd9a9e0de #4242 Better issue logging 2025-07-01 20:02:29 +03:00
Maxim Nikolenko 64b56d7ca9
#4190 Provide unsupported extension info in log file 2025-07-01 11:48:22 +03:00
Ansariel 75db5e8b6b Revert "Fix LLCharacter base class constness." and restore improvements from 10a324a103 instead 2025-06-28 19:31:02 +02:00
Andrey Kleshchev 895db142ee #4291 Uploading without a .bin silently fails 2025-06-26 23:27:48 +03:00
Andrey Kleshchev 8c9d0c6145 #4142 Joint grouping and stripping
Viewer only supports 110 joints at a time, when model has more bones
than that importer has to strip some, use groups for stripping.
2025-06-26 02:39:21 +03:00
Andrey Kleshchev c404b93759 #4148 Fix collision bones 2025-06-25 09:28:51 +03:00
Andrey Lihatskiy 9e87757a5b #4257 Use filename as model initial name 2025-06-24 00:57:38 +03:00
Andrey Lihatskiy 1a6e328611 #4204 Remove more unused code 2025-06-19 23:52:37 +03:00
Andrey Lihatskiy 2083e652fe
#4204 Unused code cleanup (#4278) 2025-06-19 20:57:44 +03:00
Andrey Kleshchev f5320302d4 #4214 Revert and remake "weights remap"
This reverts commits fe10a83f69
and 08f6f5c697fce4ccbfba357ab9ce5af915dd0574..
2025-06-19 20:50:29 +03:00
Andrey Lihatskiy 5099401a53 #4204 Log embedded texture extraction failure 2025-06-18 18:14:59 +03:00
Andrey Lihatskiy bb45bfae0d #4204 Fix GLTF texture loading to match DAE loader behavior 2025-06-18 16:57:16 +03:00
Andrey Kleshchev 46aeaf4803 #4242 Support splitting of gltf faces that are over 16bit limit 2025-06-18 10:11:47 +03:00
Andrey Kleshchev 54660c8931 #4147 Joint Overrides #3
Remande skeleton translation from default skeleton to overriden skeleton
2025-06-13 21:49:02 +03:00
Andrey Kleshchev 8322a9a61e #4147 Joint Overrides #2 2025-06-12 15:55:47 +03:00
Andrey Kleshchev e2c76ec70d #4147 Move mAlternateBindMatrices
For reduced log spam and calculutions and to make further modifications
easier.
2025-06-12 01:02:56 +03:00
Andrey Lihatskiy 1132b19c06 #4114 Improve GLTF mesh uploader log 2 2025-06-11 14:07:08 +03:00
Maxim Nikolenko 48eb8a2efe
#4147 Joint override 2025-06-11 01:21:45 +03:00
Andrey Kleshchev fe10a83f69 #4214 Weights and Joints remap #2 2025-06-11 00:17:58 +03:00
Andrey Lihatskiy b3fd05fa97 #4114 Improve GLTF mesh uploader log 2025-06-10 20:00:32 +03:00
Andrey Kleshchev 4bbd6319c7 #4148 Skeleton Translation #2 2025-06-10 19:48:29 +03:00