From 643955ab1c687e876a4ee827e626af269bba8d15 Mon Sep 17 00:00:00 2001 From: Grant Sanderson Date: Thu, 14 Feb 2019 11:34:42 -0800 Subject: [PATCH] Added warning to usage of OldLaggedStart --- manimlib/animation/composition.py | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/manimlib/animation/composition.py b/manimlib/animation/composition.py index 048b09a5..c5dd6d1a 100644 --- a/manimlib/animation/composition.py +++ b/manimlib/animation/composition.py @@ -149,6 +149,11 @@ class OldLaggedStart(Animation): } def __init__(self, AnimationClass, mobject, arg_creator=None, **kwargs): + print( + "Warning, this scene is using the animation " + "OldLaggedStart, which is now deprecated. Use " + "LaggedStart instead." + ) for key in ["rate_func", "run_time"]: if key in AnimationClass.CONFIG: setattr(self, key, AnimationClass.CONFIG[key])