From 7755150ae8214c4d9a93c8fb6fc7c629f91f4c52 Mon Sep 17 00:00:00 2001 From: CatChow0 Date: Tue, 24 Jun 2025 17:01:05 +0200 Subject: [PATCH] Patch - ADD TODO comment - V12.4.1 --- enginecustom/src/src/system/imguiManager.cpp | 4 ++-- enginecustom/src/src/system/scene_manager.cpp | 6 +++--- enginecustom/src/src/system/stats.cpp | 2 +- 3 files changed, 6 insertions(+), 6 deletions(-) diff --git a/enginecustom/src/src/system/imguiManager.cpp b/enginecustom/src/src/system/imguiManager.cpp index 85c2746..b404564 100644 --- a/enginecustom/src/src/system/imguiManager.cpp +++ b/enginecustom/src/src/system/imguiManager.cpp @@ -386,7 +386,7 @@ void imguiManager::WidgetAddObject() } ImGui::SameLine(); - ImGui::Text("Number of cubes: %d", 1); + ImGui::Text("Number of cubes: %d", 1); //TODO: Replace with actual count of cubes } } @@ -702,7 +702,7 @@ void imguiManager::WidgetTerrainWindow() { ImGui::Begin("Terrain", &showTerrainWindow); - ImGui::Text("Number of terrain cubes: %d", 1); + ImGui::Text("Number of terrain cubes: %d", 1); // TODO: Replace with actual count of terrain cubes ImGui::Separator(); diff --git a/enginecustom/src/src/system/scene_manager.cpp b/enginecustom/src/src/system/scene_manager.cpp index c5a1325..bf9355f 100644 --- a/enginecustom/src/src/system/scene_manager.cpp +++ b/enginecustom/src/src/system/scene_manager.cpp @@ -52,7 +52,7 @@ bool scene_manager::save_scene_as() { // Mettre à jour le chemin de scène scene_path_ = convert_w_string_to_string(filepath.wstring()); - //object_vec_ = app_->get_kobjects(); + //object_vec_ = app_->get_kobjects(); // TODO // Sauvegarder la scène avec le nouveau chemin save_scene(); @@ -67,7 +67,7 @@ bool scene_manager::save_scene_as() { bool scene_manager::load_scene() { Logger::Get().Log("Loading scene from " , __FILE__, __LINE__, Logger::LogLevel::Info); - //object_vec_ = app_->get_kobjects(); + //object_vec_ = app_->get_kobjects(); // TODO object_id_ = app_->get_object_id(); w_folder_ = app_->get_w_folder(); direct_3d_ = app_->get_direct_3d(); @@ -230,7 +230,7 @@ bool scene_manager::load_scene() { } // pass the vec to the application - //app_->set_kobjects(object_vec_); + //app_->set_kobjects(object_vec_); // TODO Logger::Get().Log("Scene loaded successfully from ", __FILE__, __LINE__, Logger::LogLevel::Info); return true; diff --git a/enginecustom/src/src/system/stats.cpp b/enginecustom/src/src/system/stats.cpp index 64b0c19..0debbd4 100644 --- a/enginecustom/src/src/system/stats.cpp +++ b/enginecustom/src/src/system/stats.cpp @@ -36,7 +36,7 @@ bool stats::initialize(application_class* app) void stats::update_geometric_stats() { - + // TODO // object_vec_ = app_->get_kobjects(); // cubes_vec_ = app_->get_cubes(); // terrain_chunk_vec_ = app_->get_terrain_cubes();