gizmos: implemented pathway for node to draw on the viewer

This commit is contained in:
itsmattkc
2020-04-27 04:34:36 +10:00
parent ac3f49a845
commit 1cca9de7c5
15 changed files with 78 additions and 3 deletions
+9
View File
@@ -268,6 +268,15 @@ QList<NodeOutput *> Node::GetOutputs() const
return {output_};
}
bool Node::HasGizmos() const
{
return false;
}
void Node::DrawGizmos(QPainter *, const QRect &) const
{
}
void Node::CopyInputs(Node *source, Node *destination, bool include_connections)
{
Q_ASSERT(source->id() == destination->id());