From 8639df1cfd25d3023b5b71b03f69faa203fa53b6 Mon Sep 17 00:00:00 2001 From: bubnikv Date: Mon, 26 Mar 2018 11:21:53 +0200 Subject: [PATCH] Removed an incorrectly placed status line update, causing stack overflow in unit tests. --- xs/src/libslic3r/PrintObject.cpp | 5 ----- 1 file changed, 5 deletions(-) diff --git a/xs/src/libslic3r/PrintObject.cpp b/xs/src/libslic3r/PrintObject.cpp index dd2c4e3776..e64c129696 100644 --- a/xs/src/libslic3r/PrintObject.cpp +++ b/xs/src/libslic3r/PrintObject.cpp @@ -397,11 +397,6 @@ void PrintObject::generate_support_material() this->_generate_support_material(); } this->state.set_done(posSupportMaterial); - char stats[128]; - //FIXME this does not belong here! Why should the status bar be updated with the object weight - // at the end of object's support.? - sprintf(stats, "Weight: %.1lfg, Cost: %.1lf", this->_print->total_weight, this->_print->total_cost); - this->_print->set_status(85, stats); } }