fixed that would erroneously pass a zero integer instead of null value

This commit is contained in:
itsmattkc
2020-01-03 18:19:01 +11:00
parent ef91f81e0f
commit 55135114b9
2 changed files with 1 additions and 2 deletions
+1 -1
View File
@@ -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();
-1
View File
@@ -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));
}