Skip to content

develop-linux branch, glb, gltf missing from file picker, only *.dae selectable. #4958

@canny

Description

@canny

Problem

The SDL/Linux file picker only showed Collada/DAE files in the mesh import dialog, despite the model loader already

supporting GLB/GLTF formats.

Solution

Updated FFLOAD_MODEL filter in llfilepicker.cpp (line 213) to include all supported formats: dae, gltf, glb

File: indra/newview/llfilepicker.cpp:213

Changed:

filter_vec.push_back({ "Model files (*.dae)", "dae" });

To:

(Canny is screwing this line up, it should have astericks.type)

filter_vec.push_back({ "Model files (*.dae, *.gltf, *.glb)", "dae;gltf;glb" });

This aligns the Linux implementation with Windows (line 62) and the model loader's actual capabilities

(llmodelpreview.cpp:795-837).

https://secondlife.canny.io/admin/board/bug-reports/p/develop-linux-branch-glb-gltf-missing-from-file-picker-only-dae-selectable


This repo is using Opire - what does it mean? 👇
💵 Everyone can add rewards for this issue commenting /reward 100 (replace 100 with the amount).
🕵️‍♂️ If someone starts working on this issue to earn the rewards, they can comment /try to let everyone know!
🙌 And when they open the PR, they can comment /claim #4958 either in the PR description or in a PR's comment.

🪙 Also, everyone can tip any user commenting /tip 20 @canny[bot] (replace 20 with the amount, and @canny[bot] with the user to tip).

📖 If you want to learn more, check out our documentation.

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions