Refine editor viewport and interaction workflow

This commit is contained in:
2026-03-29 15:12:38 +08:00
parent b0427b7091
commit 2651bad080
42 changed files with 3888 additions and 570 deletions

View File

@@ -135,14 +135,19 @@ bool Application::Initialize(HWND hwnd) {
}
m_hwnd = hwnd;
logger.Info(Debug::LogCategory::General, "Initializing editor window renderer...");
if (!InitializeWindowRenderer(hwnd)) {
return false;
}
logger.Info(Debug::LogCategory::General, "Initializing editor context...");
InitializeEditorContext(projectRoot);
logger.Info(Debug::LogCategory::General, "Initializing ImGui backend...");
InitializeImGui(hwnd);
logger.Info(Debug::LogCategory::General, "Attaching editor layer...");
AttachEditorLayer();
logger.Info(Debug::LogCategory::General, "Editor initialization completed.");
m_renderReady = true;
return true;
}