mirror of
				https://github.com/SoftFever/OrcaSlicer.git
				synced 2025-10-30 20:21:12 -06:00 
			
		
		
		
	Copying from other config folders:
Find if there is more recent config in other folders (alpha / beta / release). If yes, ask user, make snapshot, copy files. if there is no current config, ask user and copy recent one.
This commit is contained in:
		
							parent
							
								
									4c8e13947c
								
							
						
					
					
						commit
						ca8f7fbf80
					
				
					 6 changed files with 210 additions and 10 deletions
				
			
		|  | @ -148,6 +148,9 @@ public: | |||
| 	// Does the config file exist?
 | ||||
| 	bool 				exists(); | ||||
| 
 | ||||
| 	void                set_loading_path(const std::string& path) { m_loading_path = path; } | ||||
| 	std::string         loading_path() { return (m_loading_path.empty() ? config_path() : m_loading_path); } | ||||
| 
 | ||||
|     std::vector<std::string> get_recent_projects() const; | ||||
|     void set_recent_projects(const std::vector<std::string>& recent_projects); | ||||
| 
 | ||||
|  | @ -196,6 +199,8 @@ private: | |||
| 	Semver                                                      m_orig_version; | ||||
| 	// Whether the existing version is before system profiles & configuration updating
 | ||||
| 	bool                                                        m_legacy_datadir; | ||||
| 
 | ||||
| 	std::string                                                 m_loading_path; | ||||
| }; | ||||
| 
 | ||||
| } // namespace Slic3r
 | ||||
|  |  | |||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue
	
	 David Kocik
						David Kocik