Skip to content

Add support for quoted filenames in mtllib entries#22

Open
Sakai-san wants to merge 1 commit intoWesUnwin:masterfrom
Sakai-san:feature/mtllib-quoted-filenames
Open

Add support for quoted filenames in mtllib entries#22
Sakai-san wants to merge 1 commit intoWesUnwin:masterfrom
Sakai-san:feature/mtllib-quoted-filenames

Conversation

@Sakai-san
Copy link
Copy Markdown

@Sakai-san Sakai-san commented Oct 2, 2025

  • Handle quoted filenames (single or double quotes) in mtllib statements
  • Support filenames with spaces when properly quoted
  • Maintain backward compatibility with unquoted filenames

Examples:

mtllib "wall.mtl => ['mtllib', '"wall.mtl']

mtllib 'w a l l.mtl' => ['mtllib', 'w a l l.mtl']

mtllib "wa l l.mtl" => ['mtllib', 'wa l l.mtl']

mtllib wall.mtl' => ['mtllib', "wall.mtl'"]

mtllib wa l l.mtl => ['mtllib', 'wa l l.mtl']

- Handle quoted filenames (single or double quotes) in mtllib statements
- Support filenames with spaces when properly quoted
- Maintain backward compatibility with unquoted filenames
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant