forked from qt-creator/qt-creator
Make sure to neither load nor store invalid qeasing-curves
Remove set-value-spinbox. Do not convert single-segment-qeasing-curves to bezier if they would become invalid. Do not store invalid qeasing-curves in the keyframe ModelNode. Make sure that a conversion does not produce nans Change-Id: I0688de55bf6b0ef6fe69d70d9192d852c8d6b895 Reviewed-by: Thomas Hartmann <thomas.hartmann@qt.io>
This commit is contained in:
@@ -106,13 +106,6 @@ QToolBar *CurveEditor::createToolBar(CurveEditorModel *model)
|
||||
Q_UNUSED(tangentStepAction);
|
||||
Q_UNUSED(tangentDefaultAction);
|
||||
|
||||
auto *valueBox = new QHBoxLayout;
|
||||
valueBox->addWidget(new QLabel(tr("Value")));
|
||||
valueBox->addWidget(new QDoubleSpinBox);
|
||||
auto *valueWidget = new QWidget;
|
||||
valueWidget->setLayout(valueBox);
|
||||
bar->addWidget(valueWidget);
|
||||
|
||||
auto *durationBox = new QHBoxLayout;
|
||||
auto *startSpin = new QSpinBox;
|
||||
auto *endSpin = new QSpinBox;
|
||||
|
||||
Reference in New Issue
Block a user