code cleanup and better text display

This commit is contained in:
itsmattkc
2019-07-15 13:07:17 -04:00
parent 3ec133f254
commit 44668e144c
5 changed files with 81 additions and 53 deletions
+5
View File
@@ -56,6 +56,11 @@ void Node::InvalidateCache(const rational &start_range, const rational &end_rang
}
}
NodeParam *Node::ParamAt(int index)
{
return static_cast<NodeParam*>(children().at(index));
}
QList<NodeParam *> Node::parameters()
{
return static_qobjectlist_cast<NodeParam>(children());