Skip to content

Fix importing of binary STLs in big-endian architectures#4143

Merged
lordofhyphens merged 1 commit into
slic3r:masterfrom
hyperair:fixup-admesh-bigendian-support
Oct 1, 2017
Merged

Fix importing of binary STLs in big-endian architectures#4143
lordofhyphens merged 1 commit into
slic3r:masterfrom
hyperair:fixup-admesh-bigendian-support

Conversation

@hyperair

@hyperair hyperair commented Oct 1, 2017

Copy link
Copy Markdown
Contributor

This PR flips the byte order to the host byte order while reading floats and uint32_t's from binary STLs.

Fix from admesh/admesh#26

Closes: prusa3d/PrusaSlicer#532
Related PR: prusa3d/PrusaSlicer#534

@lordofhyphens
lordofhyphens merged commit b959296 into slic3r:master Oct 1, 2017
@hyperair
hyperair deleted the fixup-admesh-bigendian-support branch October 2, 2017 00:51
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