mirror of
https://github.com/AxioDL/PrimeWorldEditor.git
synced 2025-07-03 11:45:59 +00:00
Skip viewport render if editor window is minimized (probably more fixes that can be applied similar to this)
This commit is contained in:
parent
3f3735ac7a
commit
4fd3e9c437
@ -1,5 +1,4 @@
|
||||
#include "CEditorApplication.h"
|
||||
#include "CEditorUpdateEvent.h"
|
||||
#include "IEditor.h"
|
||||
#include "CBasicViewport.h"
|
||||
#include <Common/CTimer.h>
|
||||
@ -27,7 +26,7 @@ void CEditorApplication::TickEditors()
|
||||
|
||||
CBasicViewport *pViewport = pEditor->Viewport();
|
||||
|
||||
if (pViewport && pViewport->isVisible())
|
||||
if (pViewport && pViewport->isVisible() && !pEditor->isMinimized())
|
||||
{
|
||||
pViewport->ProcessInput();
|
||||
pViewport->Render();
|
||||
|
Loading…
x
Reference in New Issue
Block a user