diff options
author | Enrico Turri <enricoturri@seznam.cz> | 2018-02-19 15:46:36 +0300 |
---|---|---|
committer | Enrico Turri <enricoturri@seznam.cz> | 2018-02-19 15:46:36 +0300 |
commit | d4f1ed0036183153464df7b5eef66cf60c7c6433 (patch) | |
tree | 7115844579464cbbad94711163beb2a9f1ade94a | |
parent | 7375f6a6f588b7581286f50ad210204979c8960f (diff) |
Fixed crash while exporting MultiMaterial
-rw-r--r-- | xs/src/libslic3r/GCode.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/xs/src/libslic3r/GCode.cpp b/xs/src/libslic3r/GCode.cpp index 080b4769d..2c2df6ec3 100644 --- a/xs/src/libslic3r/GCode.cpp +++ b/xs/src/libslic3r/GCode.cpp @@ -1384,7 +1384,7 @@ void GCode::apply_print_config(const PrintConfig &print_config) void GCode::append_full_config(const Print& print, std::string& str) { - char buff[1024]; + char buff[4096]; const StaticPrintConfig *configs[] = { &print.config, &print.default_object_config, &print.default_region_config }; for (size_t i = 0; i < sizeof(configs) / sizeof(configs[0]); ++i) { |