mirror of
https://github.com/3b1b/manim.git
synced 2025-09-19 04:41:56 +00:00
Doesn't count PiCreatureScene blinks as animations (that are counted up for -n purposes)
This commit is contained in:
parent
bbfce118f2
commit
8c5bd4ecc9
1 changed files with 1 additions and 0 deletions
|
@ -575,6 +575,7 @@ class PiCreatureScene(Scene):
|
|||
time_to_blink = self.total_wait_time%self.seconds_to_blink == 0
|
||||
if blink and self.any_pi_creatures_on_screen() and time_to_blink:
|
||||
self.blink()
|
||||
self.num_plays -= 1 #This shouldn't count as an animation
|
||||
else:
|
||||
self.non_blink_wait()
|
||||
time -= 1
|
||||
|
|
Loading…
Add table
Reference in a new issue