mirror of
				https://github.com/SoftFever/OrcaSlicer.git
				synced 2025-10-30 20:21:12 -06:00 
			
		
		
		
	Fixed 3D scene mouse capture
This commit is contained in:
		
							parent
							
								
									41c093a258
								
							
						
					
					
						commit
						6ce686aff8
					
				
					 1 changed files with 2 additions and 1 deletions
				
			
		|  | @ -3157,7 +3157,8 @@ void GLCanvas3D::on_mouse(wxMouseEvent& evt) | |||
|     } | ||||
|     else if (evt.Dragging() && m_gizmos.is_dragging()) | ||||
|     { | ||||
|         m_canvas->CaptureMouse(); | ||||
|         if (!m_canvas->HasCapture()) | ||||
|             m_canvas->CaptureMouse(); | ||||
| 
 | ||||
|         m_mouse.dragging = true; | ||||
|         m_gizmos.update(mouse_ray(pos)); | ||||
|  |  | |||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue
	
	 Enrico Turri
						Enrico Turri