A community-maintained Python framework for creating mathematical animations.
fix get_subpath_mobjects() when a submobject has no attribute 'is_subpath'
Mirek Olšák0f458594c6f7
diff --git a/mobject/vectorized_mobject.py b/mobject/vectorized_mobject.pyindex 27a6452c9..5b6c30170 100644--- a/mobject/vectorized_mobject.py+++ b/mobject/vectorized_mobject.py@@ -215,7 +215,7 @@ class VMobject(Mobject):def get_subpath_mobjects(self):return filter(- lambda m : m.is_subpath,+ lambda m : hasattr(m, 'is_subpath') and m.is_subpath,self.submobjects)