mirror of
				https://github.com/SoftFever/OrcaSlicer.git
				synced 2025-10-20 07:11:12 -06:00 
			
		
		
		
	ENH: add fill in bed arrangement
Also add an option to add_object_to_list to speedup. Change-Id: I9860a950fb98b144d831ded11d5911d3aba77ba5 (cherry picked from commit aa9dd9a02ef4ac4cd6987b02b0c9be6d9ce9097f)
This commit is contained in:
		
							parent
							
								
									a73ff69860
								
							
						
					
					
						commit
						f19c83ce38
					
				
					 7 changed files with 56 additions and 38 deletions
				
			
		|  | @ -1013,6 +1013,7 @@ void MenuFactory::create_object_menu() | |||
| 
 | ||||
| void MenuFactory::create_bbl_object_menu() | ||||
| { | ||||
|     append_menu_item_fill_bed(&m_object_menu); | ||||
|     // Object Clone
 | ||||
|     append_menu_item_clone(&m_object_menu); | ||||
|     // Object Repair
 | ||||
|  | @ -1620,6 +1621,12 @@ void MenuFactory::append_menu_item_locked(wxMenu* menu) | |||
|     }, item->GetId()); | ||||
| } | ||||
| 
 | ||||
| void MenuFactory::append_menu_item_fill_bed(wxMenu *menu) | ||||
| { | ||||
|     append_menu_item( | ||||
|         menu, wxID_ANY, _L("Fill bed with copies") + dots, _L("Fill the remaining area of bed with copies of the selected object"), | ||||
|         [](wxCommandEvent &) { plater()->fill_bed_with_instances(); }, "", nullptr, []() { return plater()->can_increase_instances(); }, m_parent); | ||||
| } | ||||
| 
 | ||||
| void MenuFactory::update_object_menu() | ||||
| { | ||||
|  |  | |||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue
	
	 manch1n
						manch1n