Skip to content

Fix gltf import if texture is in subdirectory#316

Open
Dgzt wants to merge 1 commit into
JamesTKhan:masterfrom
Dgzt:gltf-file-with-image-in-subdir-import-fix
Open

Fix gltf import if texture is in subdirectory#316
Dgzt wants to merge 1 commit into
JamesTKhan:masterfrom
Dgzt:gltf-file-with-image-in-subdir-import-fix

Conversation

@Dgzt

@Dgzt Dgzt commented May 22, 2026

Copy link
Copy Markdown
Collaborator

Hi,

I wanted to load this GLTF file to test something but I got an error.

The problem: Mundus editor copies the gltf file into the .mundus/temp/.../ directory with dependencies, but dependencies will be next to the gltf file. So this fix updates image uri path in gltf file if dependencies were in a subdirectory.

@Dgzt Dgzt requested a review from JamesTKhan May 22, 2026 20:44
@Dgzt Dgzt added the bug Something isn't working label May 22, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

bug Something isn't working

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant