mirror of
				https://github.com/SoftFever/OrcaSlicer.git
				synced 2025-10-31 04:31:15 -06:00 
			
		
		
		
	Workaround to fix gizmos' imgui dialog not showing up the first time the user activates them by using keyboard shortcuts.
This commit is contained in:
		
							parent
							
								
									189312624a
								
							
						
					
					
						commit
						32dc4709a4
					
				
					 1 changed files with 5 additions and 0 deletions
				
			
		|  | @ -2264,7 +2264,12 @@ void GLCanvas3D::on_char(wxKeyEvent& evt) | |||
|         return; | ||||
| 
 | ||||
|     if (m_gizmos.on_char(evt)) | ||||
|     { | ||||
|         // FIXME: Without the following call to render(), the gimgui dialogs are not shown the first time the user tries to open them using the keyboard shortcuts
 | ||||
|         //        (it looks like as if 2 render calls are needed before they show up)
 | ||||
|         render(); | ||||
|         return; | ||||
|     } | ||||
| 
 | ||||
| //#ifdef __APPLE__
 | ||||
| //    ctrlMask |= wxMOD_RAW_CONTROL;
 | ||||
|  |  | |||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue
	
	 Enrico Turri
						Enrico Turri