mirror of
				https://github.com/SoftFever/OrcaSlicer.git
				synced 2025-10-31 12:41:20 -06:00 
			
		
		
		
	FIX:keep all three import methods consistent
Change-Id: I82fe0b8ec2df2092b35119c021d6dff2575720ae
This commit is contained in:
		
							parent
							
								
									71acbec38d
								
							
						
					
					
						commit
						3e21f0cc91
					
				
					 2 changed files with 3 additions and 3 deletions
				
			
		|  | @ -1977,7 +1977,7 @@ void MainFrame::init_menubar_as_editor() | |||
| #ifndef __APPLE__ | ||||
|         append_menu_item(import_menu, wxID_ANY, _L("Import 3MF/STL/STEP/OBJ/AMF") + dots + "\tCtrl+I", _L("Load a model"), | ||||
|             [this](wxCommandEvent&) { if (m_plater) { | ||||
|             m_plater->add_model(); | ||||
|             m_plater->add_file(); | ||||
|         } }, "menu_import", nullptr, | ||||
|             [this](){return can_add_models(); }, this); | ||||
| #else | ||||
|  |  | |||
|  | @ -5614,9 +5614,9 @@ void Plater::priv::on_process_completed(SlicingProcessCompletedEvent &evt) | |||
| void Plater::priv::on_action_add(SimpleEvent&) | ||||
| { | ||||
|     if (q != nullptr) { | ||||
|         q->add_model(); | ||||
|         //q->add_model();
 | ||||
|         //BBS open file in toolbar add
 | ||||
|         //q->add_file();
 | ||||
|         q->add_file(); | ||||
|     } | ||||
| } | ||||
| 
 | ||||
|  |  | |||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue
	
	 tao wang
						tao wang