mirror of
https://git.mirrors.martin98.com/https://github.com/slic3r/Slic3r.git
synced 2025-08-14 11:05:52 +08:00
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:
parent
8f26cd7619
commit
498ac0c5b6
@ -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;
|
||||
|
Loading…
x
Reference in New Issue
Block a user