aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorTrickyLeifa <date.epoch@gmail.com>2024-05-22 22:12:56 +0200
committerTrickyLeifa <date.epoch@gmail.com>2024-05-22 22:12:56 +0200
commitb04ccee735fe61b3644012ddd144ba0aca7d6849 (patch)
tree363c8462cdcb78ac72a4cb9e9494d13b55b79bc1
parent695d51dbfe858d877408de78b424c1af8fc30e3a (diff)
Added enclosed DEBUG_MOVIE debug line
-rw-r--r--src/animationloader.cpp2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/animationloader.cpp b/src/animationloader.cpp
index d3574483..5f57cbe5 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);
}