mirror of
https://github.com/3b1b/manim.git
synced 2025-08-02 19:46:21 +08:00
Doesn't count PiCreatureScene blinks as animations (that are counted up for -n purposes)
This commit is contained in:
@ -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
|
||||
|
Reference in New Issue
Block a user