예제 #1
0
void FSceneViewport::OnMouseLeave( const FPointerEvent& MouseEvent )
{
	ViewportClient->MouseLeave( this );
	
	if ( IsPlayInEditorViewport() )
	{
		CachedMousePos = FIntPoint(-1, -1);
	}
}
예제 #2
0
void FSceneViewport::OnMouseLeave( const FPointerEvent& MouseEvent )
{
	if( ViewportClient )
	{
		ViewportClient->MouseLeave( this );
	
		if ( (FApp::IsGame() && !GIsEditor) || IsPlayInEditorViewport() )
		{
			CachedMousePos = FIntPoint(-1, -1);
		}
	}
}