mirror of
				https://github.com/SoftFever/OrcaSlicer.git
				synced 2025-10-31 12:41:20 -06:00 
			
		
		
		
	 745182988d
			
		
	
	
		745182988d
		
	
	
	
	
		
			
			A static symbol Slic3r::SEMVER is introduced, which holds the running slicer's Semver object. This is mainly done to make testing updater behaviour _much_ easier. Additionaly to cleanup some questionable code (Semver was being parsed multiple times / in multiple places in the frontend.)
		
			
				
	
	
		
			7 lines
		
	
	
	
		
			81 B
		
	
	
	
		
			C++
		
	
	
	
	
	
			
		
		
	
	
			7 lines
		
	
	
	
		
			81 B
		
	
	
	
		
			C++
		
	
	
	
	
	
| #include "libslic3r.h"
 | |
| 
 | |
| namespace Slic3r {
 | |
| 
 | |
| Semver SEMVER { SLIC3R_VERSION };
 | |
| 
 | |
| }
 |