mirror of
				https://github.com/SoftFever/OrcaSlicer.git
				synced 2025-10-30 20:21:12 -06:00 
			
		
		
		
	SLA gizmo: fixed a crash with multiple selection
This commit is contained in:
		
							parent
							
								
									8d3d4b3ae7
								
							
						
					
					
						commit
						99f34f8321
					
				
					 1 changed files with 1 additions and 1 deletions
				
			
		|  | @ -59,7 +59,7 @@ bool GLGizmoSlaSupports::on_init() | |||
| 
 | ||||
| void GLGizmoSlaSupports::set_sla_support_data(ModelObject* model_object, const Selection& selection) | ||||
| { | ||||
|     if (selection.is_empty()) { | ||||
|     if (! model_object || selection.is_empty()) { | ||||
|         m_model_object = nullptr; | ||||
|         return; | ||||
|     } | ||||
|  |  | |||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue
	
	 Lukas Matena
						Lukas Matena