From 55135114b9426f5c345fd2185009d8c49d33a6bc Mon Sep 17 00:00:00 2001 From: itsmattkc Date: Fri, 3 Jan 2020 18:19:01 +1100 Subject: [PATCH] fixed that would erroneously pass a zero integer instead of null value --- app/node/input.h | 2 +- app/render/backend/videorenderworker.cpp | 1 - 2 files changed, 1 insertion(+), 2 deletions(-) diff --git a/app/node/input.h b/app/node/input.h index 1edaab7dd..3f14e99e8 100644 --- a/app/node/input.h +++ b/app/node/input.h @@ -43,7 +43,7 @@ public: * saving/loading data from this Node so that parameter order can be changed without issues loading data saved by an * older version. This of course assumes that parameters don't change their ID. */ - NodeInput(const QString &id, const DataType& type, const QVariant& default_value = 0); + NodeInput(const QString &id, const DataType& type, const QVariant& default_value = QVariant()); virtual bool IsArray(); diff --git a/app/render/backend/videorenderworker.cpp b/app/render/backend/videorenderworker.cpp index b939f9c00..75c8b295c 100644 --- a/app/render/backend/videorenderworker.cpp +++ b/app/render/backend/videorenderworker.cpp @@ -41,7 +41,6 @@ NodeValueTable VideoRenderWorker::RenderInternal(const NodeDependency& path, con emit CompletedFrame(path, job_time, hash, texture); // If we actually have a texture, download it into the disk cache - qDebug() << "Texture was null:" << texture.isNull(); if (!texture.isNull()) { Download(path, hash, texture, frame_cache_->CachePathName(hash)); }