Revert "Caught another use of z steps per mm that needs to be clear in its application."

This reverts commit 8f26cd7619bed295f114ac279d6d63169086b400.

Fails tests.
This commit is contained in:
Joseph Lenox 2017-12-17 19:40:35 -06:00
parent 8f26cd7619
commit 498ac0c5b6

View File

@ -690,7 +690,7 @@ std::vector<coordf_t> PrintObject::generate_object_layers(coordf_t first_layer_h
this->_model_object->layer_height_spline = this->layer_height_spline;
// apply z-gradation (this is redundant for static layer height...)
coordf_t gradation = 1.0 / (this->_print->config.z_steps_per_mm * 4.0);
coordf_t gradation = 1 / this->_print->config.z_steps_per_mm * 4;
if(this->_print->config.z_steps_per_mm > 0) {
coordf_t last_z = 0;
coordf_t height;