fixed that would erroneously pass a zero integer instead of null value
This commit is contained in:
+1
-1
@@ -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();
|
||||
|
||||
|
||||
@@ -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));
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user