mirror of
				https://github.com/SoftFever/OrcaSlicer.git
				synced 2025-11-02 20:51:23 -07:00 
			
		
		
		
	Follow-up of 7cf350d0bc -> Fixed unselection of objects when any gizmo is active and CTRL is pressed
				
					
				
			This commit is contained in:
		
							parent
							
								
									6fd946f73e
								
							
						
					
					
						commit
						4ab226dad3
					
				
					 1 changed files with 4 additions and 0 deletions
				
			
		| 
						 | 
				
			
			@ -3805,7 +3805,11 @@ void GLCanvas3D::on_mouse(wxMouseEvent& evt)
 | 
			
		|||
        }
 | 
			
		||||
        else if (evt.LeftUp() && !m_mouse.ignore_left_up && !m_mouse.dragging && m_hover_volume_idxs.empty() && !is_layers_editing_enabled()) {
 | 
			
		||||
            // deselect and propagate event through callback
 | 
			
		||||
#if ENABLE_PAN_ROTATE_SCENE_IN_GIZMOS
 | 
			
		||||
            if (!evt.ShiftDown() && (!any_gizmo_active || !evt.CmdDown()) && m_picking_enabled)
 | 
			
		||||
#else
 | 
			
		||||
            if (!evt.ShiftDown() && m_picking_enabled)
 | 
			
		||||
#endif // ENABLE_PAN_ROTATE_SCENE_IN_GIZMOS
 | 
			
		||||
                deselect_all();
 | 
			
		||||
        }
 | 
			
		||||
        else if (evt.RightUp()) {
 | 
			
		||||
| 
						 | 
				
			
			
 | 
			
		|||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue