curveview: implemented keyframe tracks

I'm not sure why this wasn't implemented before, but as a pretty integral part
of the keyframe system, now it is.
This commit is contained in:
itsmattkc
2020-04-05 20:19:46 +10:00
parent 6ea52e4123
commit 9133bbe632
3 changed files with 84 additions and 63 deletions
+2
View File
@@ -105,6 +105,8 @@ void CurveWidget::SetInput(NodeInput *input)
key_control_->SetInput(input_);
if (input_) {
view_->SetTrackCount(input_->get_number_of_keyframe_tracks());
bridge_ = new NodeParamViewWidgetBridge(input_, this);
bridge_->SetTimeTarget(GetTimeTarget());