ToolOrdering: Removed unused parameter.
This commit is contained in:
parent
c0b90f68ab
commit
cc2b9b8849
@ -111,7 +111,7 @@ void ToolOrdering::initialize_layers(std::vector<coordf_t> &zs)
|
||||
coordf_t zmax = zs[i] + EPSILON;
|
||||
for (; j < zs.size() && zs[j] <= zmax; ++ j) ;
|
||||
// Assign an average print_z to the set of layers with nearly equal print_z.
|
||||
m_layer_tools.emplace_back(LayerTools(0.5 * (zs[i] + zs[j-1]), m_print_config_ptr));
|
||||
m_layer_tools.emplace_back(LayerTools(0.5 * (zs[i] + zs[j-1])));
|
||||
i = j;
|
||||
}
|
||||
}
|
||||
|
@ -73,7 +73,7 @@ private:
|
||||
class LayerTools
|
||||
{
|
||||
public:
|
||||
LayerTools(const coordf_t z, const PrintConfig* print_config_ptr = nullptr) :
|
||||
LayerTools(const coordf_t z) :
|
||||
print_z(z),
|
||||
has_object(false),
|
||||
has_support(false),
|
||||
|
Loading…
Reference in New Issue
Block a user