Fixed crash while exporting MultiMaterial

This commit is contained in:
Enrico Turri 2018-02-19 13:46:36 +01:00
parent 7375f6a6f5
commit d4f1ed0036

View File

@ -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) {