diff options
author | Maxim Nikolenko <maximnproductengine@lindenlab.com> | 2025-05-27 20:28:00 +0300 |
---|---|---|
committer | GitHub <noreply@github.com> | 2025-05-27 20:28:00 +0300 |
commit | 0d99487d46d6ccf7000723c35ac78018b5763dea (patch) | |
tree | 69a558fa70f91f601bf0fa1de5f8d3205712b33f /indra/newview/gltf/asset.cpp | |
parent | 3f0aa3383a25d203dcdf35d0b7937cbcba3ea5e3 (diff) |
#4107 upload the model ignoring unsupported extension
Diffstat (limited to 'indra/newview/gltf/asset.cpp')
-rw-r--r-- | indra/newview/gltf/asset.cpp | 10 |
1 files changed, 2 insertions, 8 deletions
diff --git a/indra/newview/gltf/asset.cpp b/indra/newview/gltf/asset.cpp index 129661c195..6576904874 100644 --- a/indra/newview/gltf/asset.cpp +++ b/indra/newview/gltf/asset.cpp @@ -489,22 +489,16 @@ void Asset::update() bool Asset::prep() { LL_PROFILE_ZONE_SCOPED_CATEGORY_GLTF; - // check required extensions and fail if not supported - bool unsupported = false; + // check required extensions for (auto& extension : mExtensionsRequired) { if (ExtensionsSupported.find(extension) == ExtensionsSupported.end()) { LL_WARNS() << "Unsupported extension: " << extension << LL_ENDL; - unsupported = true; + mUnsupportedExtension = true; } } - if (unsupported) - { - return false; - } - // do buffers first as other resources depend on them for (auto& buffer : mBuffers) { |