Skip to content
Merged
Changes from all commits
Commits
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
7 changes: 6 additions & 1 deletion indra/newview/gltf/llgltfloader.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -702,7 +702,12 @@ std::string LLGLTFLoader::processTexture(std::string& full_path_out, S32 texture
// Process embedded textures
if (image.mBufferView >= 0)
{
return extractTextureToTempFile(texture_index, texture_type);
std::string temp_path = extractTextureToTempFile(texture_index, texture_type);
if (!temp_path.empty())
{
full_path_out = temp_path;
}
return temp_path;
}

return "";
Expand Down