Fixed a variable layer height profile update issue.

https://github.com/prusa3d/Slic3r/issues/358
This commit is contained in:
bubnikv committed 2017-06-15 20:15:53 +02:00
1 parent aa54c3402b
commit cb43f19a90
2 files changed
+7 -6

No files matched your search

+1
View File
@@ -1468,6 +1468,7 @@ void PrintObject::reset_layer_height_profile()
{
// Reset the layer_heigth_profile.
this->layer_height_profile.clear();
this->layer_height_profile_valid = false;
// Reset the source layer_height_profile if it exists at the ModelObject.
this->model_object()->layer_height_profile.clear();
this->model_object()->layer_height_profile_valid = false;