mirror of
https://github.com/3b1b/manim.git
synced 2025-11-14 10:27:46 +00:00
Refresh shader data at the start of an animation
This commit is contained in:
parent
470e7bee1e
commit
bfaf81c6b3
1 changed files with 1 additions and 0 deletions
|
|
@ -65,6 +65,7 @@ class Animation(object):
|
|||
self.rate_func = squish_rate_func(
|
||||
self.rate_func, start / self.run_time, end / self.run_time,
|
||||
)
|
||||
self.mobject.refresh_shader_data()
|
||||
self.mobject.set_animating_status(True)
|
||||
self.starting_mobject = self.create_starting_mobject()
|
||||
if self.suspend_mobject_updating:
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue