Merge branch 'master' of https://github.com/prusa3d/PrusaSlicer
This commit is contained in:
commit
d954a70bbf
5 changed files with 8890 additions and 8010 deletions
Binary file not shown.
File diff suppressed because it is too large
Load diff
BIN
resources/localization/zh_cn/PrusaSlicer.mo
Normal file
BIN
resources/localization/zh_cn/PrusaSlicer.mo
Normal file
Binary file not shown.
8889
resources/localization/zh_cn/PrusaSlicer_zh_CN.po
Normal file
8889
resources/localization/zh_cn/PrusaSlicer_zh_CN.po
Normal file
File diff suppressed because it is too large
Load diff
|
@ -151,7 +151,7 @@ bool stl_write_binary(stl_file *stl, const char *file, const char *label)
|
|||
memcpy(buffer, &stl->stats.number_of_facets, 4);
|
||||
stl_internal_reverse_quads(buffer, 4);
|
||||
fwrite(buffer, 4, 1, fp);
|
||||
for (i = 0; i < stl->stats.number_of_facets; ++ i) {
|
||||
for (size_t i = 0; i < stl->stats.number_of_facets; ++ i) {
|
||||
memcpy(buffer, stl->facet_start + i, 50);
|
||||
// Convert to little endian.
|
||||
stl_internal_reverse_quads(buffer, 48);
|
||||
|
|
Loading…
Reference in a new issue