Saved bed_shape changes.

*code review
This commit is contained in:
YuSanka 2018-03-23 17:27:43 +01:00
parent 77f5ed6851
commit e7edb512b8
4 changed files with 71 additions and 73 deletions

View file

@ -183,7 +183,8 @@ void BedShapePanel::set_shape(ConfigOptionPoints* points)
vertex_distances.push_back(distance);
avg_dist += distance;
}
avg_dist /= vertex_distances.size();
bool defined_value = true;
for (auto el: vertex_distances)
{