Conversation
There was a problem hiding this comment.
Pull request overview
Updates the level editor’s VPP packfile generation to also include textures referenced by custom meshes used in a level, preventing missing-material issues when distributing user maps that rely on loose .v3m/.v3c files.
Changes:
- Add disk lookup and V3M/V3C parsing helpers to extract diffuse texture references from mesh files.
- Extend VPP packing to add textures referenced by
DedMeshobjects andSwitch_Modelevents. - Centralize V3D/V3M constants/types in
meshes.hand update mesh export code to use them.
Reviewed changes
Copilot reviewed 4 out of 4 changed files in this pull request and generated 3 comments.
| File | Description |
|---|---|
| editor_patch/textures.cpp | Adds mesh-texture extraction to the VPP texture-gathering step and reuses mesh disk lookup. |
| editor_patch/meshes.h | Introduces shared V3D structs/constants and declares mesh lookup + texture extraction APIs. |
| editor_patch/meshes.cpp | Implements find_mesh_on_disk() and extract_v3d_texture_names() (binary parser). |
| editor_patch/mesh_export.cpp | Replaces duplicated V3D constants with the shared definitions from meshes.h. |
💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.
There was a problem hiding this comment.
Pull request overview
Copilot reviewed 4 out of 4 changed files in this pull request and generated 4 comments.
💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.
There was a problem hiding this comment.
Pull request overview
Copilot reviewed 4 out of 4 changed files in this pull request and generated 3 comments.
💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.
There was a problem hiding this comment.
Pull request overview
Copilot reviewed 4 out of 4 changed files in this pull request and generated 3 comments.
💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.
No description provided.