various fixes

This commit is contained in:
itsmattkc
2019-07-16 00:00:18 -04:00
parent 44668e144c
commit d098c0de5f
10 changed files with 127 additions and 21 deletions
+5
View File
@@ -41,6 +41,11 @@ const NodeParam::DataType &NodeOutput::data_type()
void NodeOutput::set_data_type(const NodeParam::DataType &type)
{
data_type_ = type;
// If no name has been set, use a default name
if (name().isEmpty()) {
set_name(GetDefaultDataTypeName(type));
}
}
const QVariant &NodeOutput::get_value(const rational& time)