mirror of
				https://github.com/SoftFever/OrcaSlicer.git
				synced 2025-10-30 20:21:12 -06:00 
			
		
		
		
	
		
			
				
	
	
		
			22 lines
		
	
	
	
		
			374 B
		
	
	
	
		
			C++
		
	
	
	
	
	
			
		
		
	
	
			22 lines
		
	
	
	
		
			374 B
		
	
	
	
		
			C++
		
	
	
	
	
	
| #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();
 | |
| }
 | |
| 
 | |
| } // namespace Slic3r
 | |
| 
 | |
| // CEREAL_REGISTER_TYPE(Slic3r::ObjectBase)
 | 
