mirror of
				https://github.com/SoftFever/OrcaSlicer.git
				synced 2025-10-20 07:11:12 -06:00 
			
		
		
		
	FIX: crash when the text has only spaces STUDIO-3661
Change-Id: Ib433e3afbe8b161f42b0d907e9d78dbc93569cdf
This commit is contained in:
		
							parent
							
								
									cd8e7e80ba
								
							
						
					
					
						commit
						ce06bb08aa
					
				
					 1 changed files with 3 additions and 0 deletions
				
			
		|  | @ -1471,6 +1471,9 @@ void GLGizmoText::generate_text_volume(bool is_temp) | ||||||
|         mesh.merge(sub_mesh); |         mesh.merge(sub_mesh); | ||||||
|     } |     } | ||||||
| 
 | 
 | ||||||
|  |     if (mesh.empty()) | ||||||
|  |         return; | ||||||
|  | 
 | ||||||
|     Plater *plater = wxGetApp().plater(); |     Plater *plater = wxGetApp().plater(); | ||||||
|     if (!plater) |     if (!plater) | ||||||
|         return; |         return; | ||||||
|  |  | ||||||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue
	
	 zhimin.zeng
						zhimin.zeng