mirror of
https://git.mirrors.martin98.com/https://github.com/prusa3d/PrusaSlicer.git
synced 2025-05-17 22:26:49 +08:00
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;
|
coordf_t zmax = zs[i] + EPSILON;
|
||||||
for (; j < zs.size() && zs[j] <= zmax; ++ j) ;
|
for (; j < zs.size() && zs[j] <= zmax; ++ j) ;
|
||||||
// Assign an average print_z to the set of layers with nearly equal print_z.
|
// 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;
|
i = j;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
@ -73,7 +73,7 @@ private:
|
|||||||
class LayerTools
|
class LayerTools
|
||||||
{
|
{
|
||||||
public:
|
public:
|
||||||
LayerTools(const coordf_t z, const PrintConfig* print_config_ptr = nullptr) :
|
LayerTools(const coordf_t z) :
|
||||||
print_z(z),
|
print_z(z),
|
||||||
has_object(false),
|
has_object(false),
|
||||||
has_support(false),
|
has_support(false),
|
||||||
|
Loading…
x
Reference in New Issue
Block a user