From c22a15ca7bfe4d1fab70df99cdc9f1afe4204f2a Mon Sep 17 00:00:00 2001 From: Magnus Kaufmann Gjerde Date: Mon, 12 Dec 2022 18:20:21 -0500 Subject: [PATCH] removed script draw count logging --- include/Viewer/Scripts/Private/Base.h | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/include/Viewer/Scripts/Private/Base.h b/include/Viewer/Scripts/Private/Base.h index 651fc5e3..f1c9bc4b 100644 --- a/include/Viewer/Scripts/Private/Base.h +++ b/include/Viewer/Scripts/Private/Base.h @@ -149,14 +149,15 @@ namespace VkRender { if (!renderData.drawThisScript) return; + /* auto time = std::chrono::steady_clock::now(); std::chrono::duration time_span = std::chrono::duration_cast>(time - lastLogTime); if (time_span.count() > INTERVAL_10_SECONDS || renderData.scriptDrawCount == 0) { lastLogTime = std::chrono::steady_clock::now(); - Log::Logger::getInstance()->info("Draw-number: {} for script: {}", renderData.scriptDrawCount, - renderData.scriptName.c_str()); + Log::Logger::getInstance()->info("Draw-number: {} for script: {}", renderData.scriptDrawCount, renderData.scriptName.c_str()); } + */ draw(commandBuffer, i, b); if (i == 0) renderData.scriptDrawCount++;