Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

materialBuilder: normalise paths to work correctly on non-Windows hosts #194

Merged
merged 1 commit into from
Jan 17, 2025

Conversation

philipl
Copy link
Contributor

@philipl philipl commented Jan 17, 2025

The code that identifies material templates assumes the use of windows paths, and so will fail to match the paths constructed when reading a Material.json, which are normalised to the host path format.

Ideally, we'd make the material template matching code use the host format, but it's easier to just re-normalise the paths back to windows.

The code that identifies material templates assumes the use of windows
paths, and so will fail to match the paths constructed when reading a
Material.json, which are normalised to the host path format.

Ideally, we'd make the material template matching code use the host
format, but it's easier to just re-normalise the paths back to windows.
Copy link
Contributor

@Simarilius-uk Simarilius-uk left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Looks good to me

@Simarilius-uk Simarilius-uk merged commit cb3109c into WolvenKit:main Jan 17, 2025
1 check passed
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.

2 participants