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();