Skip to content

fix: sanitize the material name when exporting obj#12

Merged
HeadTriXz merged 2 commits intomainfrom
fix-sanitize-mtl
Feb 8, 2026
Merged

fix: sanitize the material name when exporting obj#12
HeadTriXz merged 2 commits intomainfrom
fix-sanitize-mtl

Conversation

@HeadTriXz
Copy link
Owner

According to the official MTL spec, the material name cannot contain spaces. Therefore all material names must be sanitized to avoid issues with filenames with spaces.

@HeadTriXz HeadTriXz added the bug Something isn't working label Feb 8, 2026
@HeadTriXz HeadTriXz merged commit 71a6496 into main Feb 8, 2026
16 checks passed
@HeadTriXz HeadTriXz deleted the fix-sanitize-mtl branch February 8, 2026 22:34
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