Commit c5d6d41b authored by Julius Künzel's avatar Julius Künzel
Browse files

Hide keyframe mode for rotoscoping (only linear supported)

Fixes #823
parent 9077f8ee
Pipeline #51479 passed with stage
in 10 minutes and 25 seconds
......@@ -192,6 +192,14 @@ KeyframeWidget::KeyframeWidget(std::shared_ptr<AssetParameterModel> model, QMode
container->addAction(kfType);
container->addAction(removeNext);
// rotoscoping only supports linear keyframes
if (m_model->getAssetId() == QLatin1String("rotoscoping")) {
m_selectType->setVisible(false);
m_selectType->setCurrentAction(linear);
kfType->setVisible(false);
kfType->setCurrentAction(linear2);
}
// Menu toolbutton
auto *menuButton = new QToolButton(this);
menuButton->setIcon(QIcon::fromTheme(QStringLiteral("kdenlive-menu")));
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment