connected effect UI to enabled setting
This commit is contained in:
+1
-1
@@ -154,7 +154,6 @@ public:
|
||||
int gizmo_count();
|
||||
|
||||
bool IsEnabled();
|
||||
void SetEnabled(bool b);
|
||||
|
||||
virtual void refresh();
|
||||
|
||||
@@ -214,6 +213,7 @@ public:
|
||||
static const EffectMeta* GetInternalMeta(int internal_id, int type);
|
||||
public slots:
|
||||
void FieldChanged();
|
||||
void SetEnabled(bool b);
|
||||
signals:
|
||||
void EnabledChanged(bool);
|
||||
private slots:
|
||||
|
||||
@@ -102,11 +102,12 @@ void DoubleField::UpdateFromWidget(double d)
|
||||
}
|
||||
|
||||
SetValueAt(Now(), d);
|
||||
GetParentRow()->SetKeyframeOnAllFields(nullptr);
|
||||
|
||||
if (!ls->IsDragging() && kdc_ != nullptr) {
|
||||
kdc_->SetNewKeyframes();
|
||||
|
||||
olive::UndoStack.push(kdc_);
|
||||
|
||||
kdc_ = nullptr;
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user