From 6b3e911b4015b5175e187fc513fd060d52b42314 Mon Sep 17 00:00:00 2001 From: Wojciech Figat Date: Mon, 14 Feb 2022 14:37:22 +0100 Subject: [PATCH] Remove old log for drag&drop on Windows --- .../Platform/Windows/WindowsWindow.DragDrop.cpp | 13 ------------- 1 file changed, 13 deletions(-) diff --git a/Source/Engine/Platform/Windows/WindowsWindow.DragDrop.cpp b/Source/Engine/Platform/Windows/WindowsWindow.DragDrop.cpp index d5f63f5cf..0e6489fc4 100644 --- a/Source/Engine/Platform/Windows/WindowsWindow.DragDrop.cpp +++ b/Source/Engine/Platform/Windows/WindowsWindow.DragDrop.cpp @@ -6,7 +6,6 @@ #if USE_EDITOR -#include "Engine/Core/Log.h" #include "Engine/Core/Collections/Array.h" #include "Engine/Engine/Engine.h" #include "Engine/Platform/IGuiData.h" @@ -575,27 +574,15 @@ public: int64 ExitFlag = 0; -public: - // [ThreadPoolTask] bool Run() override { - const uint64 beginFrame = Engine::FrameCount; - Scripting::GetScriptsDomain()->Dispatch(); - while (Platform::AtomicRead(&ExitFlag) == 0) { - // Render single frame Engine::OnDraw(); - - // Wait for a while Platform::Sleep(20); } - - const uint64 endFrame = Engine::FrameCount; - LOG(Info, "Rendered {0} frames during DoDragDrop stall.", endFrame - beginFrame); - return false; } };