mirror of
				https://github.com/SoftFever/OrcaSlicer.git
				synced 2025-10-31 12:41:20 -06:00 
			
		
		
		
	QOL change: use first model's name as output name if project name isn't set.
This commit is contained in:
		
							parent
							
								
									5eee758c9e
								
							
						
					
					
						commit
						e1a3b66b9f
					
				
					 1 changed files with 3 additions and 0 deletions
				
			
		|  | @ -6458,6 +6458,9 @@ wxString Plater::priv::get_export_gcode_filename(const wxString& extension, bool | |||
|         } | ||||
|     } else { | ||||
|         if (only_filename) { | ||||
|             if(m_project_name == L"Untitled") | ||||
|                 return fs::path(model.objects.front()->name).replace_extension().c_str() + wxString(plate_index_str) + extension; | ||||
| 
 | ||||
|             if (export_all) | ||||
|                 return m_project_name + extension; | ||||
|             else | ||||
|  |  | |||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue
	
	 SoftFever
						SoftFever