mirror of
https://github.com/3b1b/manim.git
synced 2025-11-14 01:27:50 +00:00
Fix wrong check for path_func in last commit
This commit is contained in:
parent
a8ef9629eb
commit
e61957a4e0
1 changed files with 1 additions and 1 deletions
|
|
@ -1815,7 +1815,7 @@ class Mobject(object):
|
|||
if key in self.const_data_keys:
|
||||
md1 = md1[0]
|
||||
md2 = md2[0]
|
||||
if path_func in self.pointlike_data_keys:
|
||||
if key in self.pointlike_data_keys:
|
||||
self.data[key] = path_func(md1, md2, alpha)
|
||||
else:
|
||||
self.data[key] = (1 - alpha) * md1 + alpha * md2
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue