name every undo command

This commit is contained in:
itsmattkc
2023-03-12 00:49:03 -08:00
parent 019f095ee4
commit 2c2df99963
46 changed files with 172 additions and 122 deletions
+10
View File
@@ -1763,6 +1763,16 @@ void Node::ArrayResizeInternal(const QString &id, int size)
}
}
QString Node::GetConnectCommandString(Node *output, const NodeInput &input)
{
return tr("Connected %1 to %2 - %3").arg(output->GetLabelAndName(), input.node()->GetLabelAndName(), input.GetInputName());
}
QString Node::GetDisconnectCommandString(Node *output, const NodeInput &input)
{
return tr("Disconnected %1 from %2 - %3").arg(output->GetLabelAndName(), input.node()->GetLabelAndName(), input.GetInputName());
}
int Node::GetInternalInputArraySize(const QString &input)
{
return array_immediates_.value(input).size();