mirror of
				https://github.com/SoftFever/OrcaSlicer.git
				synced 2025-10-31 04:31:15 -06:00 
			
		
		
		
	Merge branch 'dk_config'
This commit is contained in:
		
						commit
						295f57001c
					
				
					 1 changed files with 10 additions and 7 deletions
				
			
		|  | @ -538,13 +538,16 @@ Updates PresetUpdater::priv::get_config_updates(const Semver &old_slic3r_version | ||||||
| 			} | 			} | ||||||
| 
 | 
 | ||||||
| 			// Check if the update is already present in a snapshot
 | 			// Check if the update is already present in a snapshot
 | ||||||
| 			const auto recommended_snap = SnapshotDB::singleton().snapshot_with_vendor_preset(vp.name, recommended->config_version); | 			if(!current_not_supported) | ||||||
| 			if (recommended_snap != SnapshotDB::singleton().end()) { | 			{ | ||||||
| 				BOOST_LOG_TRIVIAL(info) << boost::format("Bundle update %1% %2% already found in snapshot %3%, skipping...") | 				const auto recommended_snap = SnapshotDB::singleton().snapshot_with_vendor_preset(vp.name, recommended->config_version); | ||||||
| 					% vp.name | 				if (recommended_snap != SnapshotDB::singleton().end()) { | ||||||
| 					% recommended->config_version.to_string() | 					BOOST_LOG_TRIVIAL(info) << boost::format("Bundle update %1% %2% already found in snapshot %3%, skipping...") | ||||||
| 					% recommended_snap->id; | 						% vp.name | ||||||
| 				continue; | 						% recommended->config_version.to_string() | ||||||
|  | 						% recommended_snap->id; | ||||||
|  | 					continue; | ||||||
|  | 				} | ||||||
| 			} | 			} | ||||||
| 
 | 
 | ||||||
| 			updates.updates.emplace_back(std::move(new_update)); | 			updates.updates.emplace_back(std::move(new_update)); | ||||||
|  |  | ||||||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue
	
	 David Kocik
						David Kocik