A community-maintained Python framework for creating mathematical animations.
Fix bug with applying function to VectorizedPoint
Grant Sandersonf4c2c4642a4f
diff --git a/manimlib/mobject/types/vectorized_mobject.py b/manimlib/mobject/types/vectorized_mobject.pyindex 12380786d..640a40d12 100644--- a/manimlib/mobject/types/vectorized_mobject.py+++ b/manimlib/mobject/types/vectorized_mobject.py@@ -577,6 +577,8 @@ class VMobject(Mobject):again."""for submob in self.family_members_with_points():+ if len(submob.points) < self.n_points_per_cubic_curve:+ continuea1, h1, h2, a2 = submob.get_anchors_and_handles()a1_to_h1 = h1 - a1a2_to_h2 = h2 - a2