A community-maintained Python framework for creating mathematical animations.
Tiny cleanup
Grant Sandersone1390692bef9
diff --git a/scene/scene.py b/scene/scene.pyindex 9171a45d0..768696223 100644--- a/scene/scene.py+++ b/scene/scene.py@@ -457,6 +457,17 @@ class Scene(Container):return self+ def wait_to(self, time, assert_positive = True):+ if self.ignore_waits:+ return+ time -= self.current_scene_time+ if assert_positive:+ assert(time >= 0)+ elif time < 0:+ return++ self.wait(time)+def force_skipping(self):self.original_skipping_status = self.skip_animationsself.skip_animations = True@@ -554,11 +565,3 @@ class Scene(Container):shutil.move(*self.args_to_rename_file)else:os.rename(*self.args_to_rename_file)-- def wait_to(self, time, assert_positive = True):- if self.ignore_waits: return- time -= self.current_scene_time- if assert_positive: assert(time >= 0)- elif time < 0: return-- self.dither(time)diff --git a/topics/objects.py b/topics/objects.pyindex e5e8a6025..a91c2b339 100644--- a/topics/objects.py+++ b/topics/objects.py@@ -7,7 +7,7 @@ from mobject.tex_mobject import TextMobject, TexMobjectfrom animation import Animationfrom animation.simple_animations import Rotating, LaggedStart-from animation.transform import ApplyMethod+from animation.transform import ApplyMethod, FadeIn, GrowFromCenterfrom topics.geometry import Circle, Line, Rectangle, Square, \Arc, Polygon, SurroundingRectangle