Skip to content

Skip mesh material loading in headless mode #3402

Open

Description

@stephanmeesters

Found by code coverage test in #3337, split off into new item.

In headless mode, MeshModelClass::Load_W3D still loads materials, texture coordinates and shaders that nothing uses. In headless mode, skip the material chunks in read_chunks and install_materials. Meshes themselves must stay: logic uses their names and transforms as bones, and bridges use their vertex positions.

Activity

  1. changed the title [-]Skip mesh material chunks when loading W3D models in headless mode[/-] [+]Skip mesh material loading in headless mode[/+] on Oct 2, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

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