mirror of
https://github.com/AxioDL/PrimeWorldEditor.git
synced 2025-07-02 03:13:38 +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;
|
||||
}
|
||||
|
||||
bool CSceneViewport::IsHoveringGizmo()
|
||||
bool CSceneViewport::IsHoveringGizmo() const
|
||||
{
|
||||
return mGizmoHovering;
|
||||
}
|
||||
|
@ -65,7 +65,7 @@ public:
|
||||
void CheckGizmoInput(const CRay& rkRay);
|
||||
SRayIntersection SceneRayCast(const CRay& rkRay);
|
||||
void ResetHover();
|
||||
bool IsHoveringGizmo();
|
||||
bool IsHoveringGizmo() const;
|
||||
|
||||
void keyPressEvent(QKeyEvent* pEvent) override;
|
||||
void keyReleaseEvent(QKeyEvent* pEvent) override;
|
||||
|
Loading…
x
Reference in New Issue
Block a user