From b04ccee735fe61b3644012ddd144ba0aca7d6849 Mon Sep 17 00:00:00 2001 From: TrickyLeifa Date: Wed, 22 May 2024 22:12:56 +0200 Subject: [PATCH] Added enclosed DEBUG_MOVIE debug line --- src/animationloader.cpp | 2 ++ 1 file changed, 2 insertions(+) diff --git a/src/animationloader.cpp b/src/animationloader.cpp index d357448..5f57cbe 100644 --- a/src/animationloader.cpp +++ b/src/animationloader.cpp @@ -66,7 +66,9 @@ AnimationFrame AnimationLoader::frame(int frameNumber) m_task_lock.lock(); while (m_frames.size() < frameNumber + 1) { +#ifdef DEBUG_MOVIE qDebug().noquote() << "Waiting for frame" << frameNumber << QString("(file: %1, frame count: %2)").arg(m_file_name).arg(m_frame_count); +#endif m_task_signal.wait(&m_task_lock); }