forked from qt-creator/qt-creator
Enable step functions in the curve-editor
... and shut-up an annoying qDebug log in the transition-editor. Change-Id: Iea8b48e48bb7e52cd4c845f28c49f8a513785fab Reviewed-by: Thomas Hartmann <thomas.hartmann@qt.io>
This commit is contained in:
@@ -100,7 +100,9 @@ QToolBar *CurveEditor::createToolBar(CurveEditorModel *model)
|
||||
auto setLinearInterpolation = [this]() {
|
||||
m_view->setInterpolation(Keyframe::Interpolation::Linear);
|
||||
};
|
||||
auto setStepInterpolation = [this]() { m_view->setInterpolation(Keyframe::Interpolation::Step); };
|
||||
auto setStepInterpolation = [this]() {
|
||||
m_view->setInterpolation(Keyframe::Interpolation::Step);
|
||||
};
|
||||
auto setSplineInterpolation = [this]() {
|
||||
m_view->setInterpolation(Keyframe::Interpolation::Bezier);
|
||||
};
|
||||
|
||||
Reference in New Issue
Block a user