mirror of
https://git.mirrors.martin98.com/https://github.com/prusa3d/PrusaSlicer.git
synced 2025-08-03 19:20:38 +08:00
29 lines
604 B
C++
29 lines
604 B
C++
///|/ Copyright (c) Prusa Research 2019 - 2020 Vojtěch Bubník @bubnikv
|
|
///|/
|
|
///|/ PrusaSlicer is released under the terms of the AGPLv3 or higher
|
|
///|/
|
|
#include "ObjectID.hpp"
|
|
|
|
namespace Slic3r {
|
|
|
|
size_t ObjectBase::s_last_id = 0;
|
|
|
|
// Unique object / instance ID for the wipe tower.
|
|
ObjectID wipe_tower_object_id()
|
|
{
|
|
static ObjectBase mine;
|
|
return mine.id();
|
|
}
|
|
|
|
ObjectID wipe_tower_instance_id()
|
|
{
|
|
static ObjectBase mine;
|
|
return mine.id();
|
|
}
|
|
|
|
ObjectWithTimestamp::Timestamp ObjectWithTimestamp::s_last_timestamp = 1;
|
|
|
|
} // namespace Slic3r
|
|
|
|
// CEREAL_REGISTER_TYPE(Slic3r::ObjectBase)
|