implemented moving keyframes around in the NodeParamView

Can now change the time in the parameter panel.
This commit is contained in:
itsmattkc
2019-12-27 22:13:00 +11:00
parent 97b91d2050
commit bbef9badc7
8 changed files with 119 additions and 14 deletions
+2
View File
@@ -34,6 +34,7 @@ TrackOutput::TrackOutput() :
locked_(false)
{
block_input_ = new NodeInputArray("block_in", NodeParam::kAny);
block_input_->set_is_keyframable(false);
AddInput(block_input_);
connect(block_input_, SIGNAL(EdgeAdded(NodeEdgePtr)), this, SLOT(BlockConnected(NodeEdgePtr)));
connect(block_input_, SIGNAL(EdgeRemoved(NodeEdgePtr)), this, SLOT(BlockDisconnected(NodeEdgePtr)));
@@ -111,6 +112,7 @@ void TrackOutput::SetTrackHeight(const int &height)
void TrackOutput::Retranslate()
{
block_input_->set_name(tr("Blocks"));
muted_input_->set_name(tr("Muted"));
}
const int &TrackOutput::Index()