mirror of
				https://github.com/SoftFever/OrcaSlicer.git
				synced 2025-10-30 20:21:12 -06:00 
			
		
		
		
	Fix of #2318
This commit is contained in:
		
							parent
							
								
									be2681dab6
								
							
						
					
					
						commit
						149665742c
					
				
					 1 changed files with 2 additions and 2 deletions
				
			
		|  | @ -354,8 +354,8 @@ DynamicPrintConfig& ObjectList::get_item_config(const wxDataViewItem& item) cons | |||
|     const int vol_idx = type & itVolume ? m_objects_model->GetVolumeIdByItem(item) : -1; | ||||
| 
 | ||||
|     assert(obj_idx >= 0 || ((type & itVolume) && vol_idx >=0)); | ||||
|     return type & itObject|itInstance ? (*m_objects)[obj_idx]->config : | ||||
|         (*m_objects)[obj_idx]->volumes[vol_idx]->config; | ||||
|     return type & itVolume ?(*m_objects)[obj_idx]->volumes[vol_idx]->config : | ||||
|                             (*m_objects)[obj_idx]->config; | ||||
| } | ||||
| 
 | ||||
| wxDataViewColumn* ObjectList::create_objects_list_extruder_column(int extruders_count) | ||||
|  |  | |||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue
	
	 YuSanka
						YuSanka