allowed parameters to have data without fields

This commit is contained in:
itsmattkc
2019-05-17 18:45:44 +10:00
parent 13a393486b
commit c616bc2b61
7 changed files with 25 additions and 3 deletions
+2 -2
View File
@@ -30,7 +30,7 @@ QString olive::nodes::DataTypeToString(DataType type) {
return "TEXTURE";
case kMatrix:
return "MATRIX";
case kClip:
case kBlock:
return "CLIP";
default:
return QString();
@@ -68,7 +68,7 @@ olive::nodes::DataType olive::nodes::StringToDataType(const QString &s)
} else if (s == "MATRIX") {
return kMatrix;
} else if (s == "CLIP") {
return kClip;
return kBlock;
}
return kInvalid;
}