mirror of
https://github.com/SoftFever/OrcaSlicer.git
synced 2025-07-17 03:37:54 -06:00
Updated MANIFEST,
fixed some compiler warnings.
This commit is contained in:
parent
fdff937cb2
commit
e75d851bc4
3 changed files with 7 additions and 4 deletions
|
@ -9,7 +9,7 @@ namespace Slic3r {
|
|||
std::string CoolingBuffer::append(const std::string &gcode, size_t object_id, size_t layer_id, bool is_support)
|
||||
{
|
||||
std::string out;
|
||||
size_t signature = object_id * 2 + is_support ? 1 : 0;
|
||||
size_t signature = object_id * 2 + (is_support ? 1 : 0);
|
||||
if (m_object_ids_visited.find(signature) != m_object_ids_visited.end())
|
||||
// For a single print_z, a combination of (object_id, is_support) could repeat once only.
|
||||
// If the combination of (object_id, is_support) reappears, this must be for another print_z,
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue