diff --git a/src/Editor/CEditorApplication.cpp b/src/Editor/CEditorApplication.cpp index 39f1d456..75b677e7 100644 --- a/src/Editor/CEditorApplication.cpp +++ b/src/Editor/CEditorApplication.cpp @@ -1,5 +1,4 @@ #include "CEditorApplication.h" -#include "CEditorUpdateEvent.h" #include "IEditor.h" #include "CBasicViewport.h" #include @@ -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();