mirror of
				https://github.com/AxioDL/PrimeWorldEditor.git
				synced 2025-10-27 12:10:37 +00:00 
			
		
		
		
	CSceneViewport: Mark IsHoveringGizmo() as const
This doesn't modify internal member state.
This commit is contained in:
		
							parent
							
								
									2263af8d2f
								
							
						
					
					
						commit
						4d932246ca
					
				| @ -132,7 +132,7 @@ void CSceneViewport::ResetHover() | |||||||
|     mpHoverNode = nullptr; |     mpHoverNode = nullptr; | ||||||
| } | } | ||||||
| 
 | 
 | ||||||
| bool CSceneViewport::IsHoveringGizmo() | bool CSceneViewport::IsHoveringGizmo() const | ||||||
| { | { | ||||||
|     return mGizmoHovering; |     return mGizmoHovering; | ||||||
| } | } | ||||||
|  | |||||||
| @ -65,7 +65,7 @@ public: | |||||||
|     void CheckGizmoInput(const CRay& rkRay); |     void CheckGizmoInput(const CRay& rkRay); | ||||||
|     SRayIntersection SceneRayCast(const CRay& rkRay); |     SRayIntersection SceneRayCast(const CRay& rkRay); | ||||||
|     void ResetHover(); |     void ResetHover(); | ||||||
|     bool IsHoveringGizmo(); |     bool IsHoveringGizmo() const; | ||||||
| 
 | 
 | ||||||
|     void keyPressEvent(QKeyEvent* pEvent) override; |     void keyPressEvent(QKeyEvent* pEvent) override; | ||||||
|     void keyReleaseEvent(QKeyEvent* pEvent) override; |     void keyReleaseEvent(QKeyEvent* pEvent) override; | ||||||
|  | |||||||
		Loading…
	
	
			
			x
			
			
		
	
		Reference in New Issue
	
	Block a user