mirror of
				https://github.com/SoftFever/OrcaSlicer.git
				synced 2025-10-30 20:21:12 -06:00 
			
		
		
		
	Fixed Cmd-A selection in the SLA gizmo.
This commit is contained in:
		
							parent
							
								
									d383f3591d
								
							
						
					
					
						commit
						7b8b8b97ef
					
				
					 2 changed files with 8 additions and 0 deletions
				
			
		|  | @ -2222,9 +2222,12 @@ void GLCanvas3D::on_char(wxKeyEvent& evt) | |||
| //#endif /* __APPLE__ */
 | ||||
|     if ((evt.GetModifiers() & ctrlMask) != 0) { | ||||
|         switch (keyCode) { | ||||
| #ifdef __APPLE__ | ||||
|         case 'a': | ||||
|         case 'A': | ||||
| #else /* __APPLE__ */ | ||||
|         case WXK_CONTROL_A: | ||||
| #endif /* __APPLE__ */ | ||||
|                 post_event(SimpleEvent(EVT_GLCANVAS_SELECT_ALL)); | ||||
|         break; | ||||
| #ifdef __APPLE__ | ||||
|  |  | |||
|  | @ -713,7 +713,12 @@ bool GLGizmosManager::on_char(wxKeyEvent& evt, GLCanvas3D& canvas) | |||
|     { | ||||
|         switch (keyCode) | ||||
|         { | ||||
| #ifdef __APPLE__ | ||||
|         case 'a': | ||||
|         case 'A': | ||||
| #else /* __APPLE__ */ | ||||
|         case WXK_CONTROL_A: | ||||
| #endif /* __APPLE__ */ | ||||
|         { | ||||
|             // Sla gizmo selects all support points
 | ||||
|             if ((m_current == SlaSupports) && gizmo_event(SLAGizmoEventType::SelectAll)) | ||||
|  |  | |||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue
	
	 bubnikv
						bubnikv