mirror of
				https://github.com/SoftFever/OrcaSlicer.git
				synced 2025-10-30 20:21:12 -06:00 
			
		
		
		
	Plater: Fix file patterns
This commit is contained in:
		
							parent
							
								
									126f0e5073
								
							
						
					
					
						commit
						974e2056fb
					
				
					 1 changed files with 4 additions and 4 deletions
				
			
		|  | @ -700,7 +700,7 @@ private: | |||
|     static const std::regex pattern_drop; | ||||
| }; | ||||
| 
 | ||||
| const std::regex PlaterDropTarget::pattern_drop("[.](stl|obj|amf|3mf|prusa)$", std::regex::icase); | ||||
| const std::regex PlaterDropTarget::pattern_drop(".*[.](stl|obj|amf|3mf|prusa)", std::regex::icase); | ||||
| 
 | ||||
| bool PlaterDropTarget::OnDropFiles(wxCoord x, wxCoord y, const wxArrayString &filenames) | ||||
| { | ||||
|  | @ -856,9 +856,9 @@ private: | |||
| #endif // ENABLE_EXTENDED_SELECTION
 | ||||
| }; | ||||
| 
 | ||||
| const std::regex Plater::priv::pattern_bundle("[.](amf|amf[.]xml|zip[.]amf|3mf|prusa)$", std::regex::icase); | ||||
| const std::regex Plater::priv::pattern_3mf("[.]3mf$", std::regex::icase); | ||||
| const std::regex Plater::priv::pattern_zip_amf("[.]zip[.]amf$", std::regex::icase); | ||||
| const std::regex Plater::priv::pattern_bundle(".*[.](amf|amf[.]xml|zip[.]amf|3mf|prusa)", std::regex::icase); | ||||
| const std::regex Plater::priv::pattern_3mf(".*3mf", std::regex::icase); | ||||
| const std::regex Plater::priv::pattern_zip_amf(".*[.]zip[.]amf", std::regex::icase); | ||||
| 
 | ||||
| Plater::priv::priv(Plater *q, MainFrame *main_frame) : | ||||
|     q(q), | ||||
|  |  | |||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue
	
	 Vojtech Kral
						Vojtech Kral