diff options
| author | Jules Laplace <julescarbon@gmail.com> | 2020-01-18 18:08:07 +0100 |
|---|---|---|
| committer | Jules Laplace <julescarbon@gmail.com> | 2020-01-18 18:08:07 +0100 |
| commit | 8450ebc5a9d0adb0a113680d072a095252387fb7 (patch) | |
| tree | 4909e3b1eba41439e3b7ab0cce4f2ac415f6e6ad /cli/app/search/live.py | |
| parent | 3233e7b8d1f91a80c011bed1992cc56a467e02cb (diff) | |
parameter smoothing
Diffstat (limited to 'cli/app/search/live.py')
| -rw-r--r-- | cli/app/search/live.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/cli/app/search/live.py b/cli/app/search/live.py index c6ee4c9..223271f 100644 --- a/cli/app/search/live.py +++ b/cli/app/search/live.py @@ -163,7 +163,7 @@ class LerpParam: def update(self): if self.direction != 0: self.t.value = clamp(self.t.value + self.direction / self.speed.value) - self.n.assign(self.ease(self.t.value), immediate=True) + self.n.assign(self.ease.ease(self.t.value), immediate=True) print("set_opt: {}_n {}".format(self.name, self.n.value)) if self.n.value == 0 or self.n.value == 1: self.direction = 0 |
