mirror of
https://github.com/3b1b/manim.git
synced 2025-08-21 05:44:04 +00:00
fix get_subpath_mobjects() when a submobject has no attribute 'is_subpath'
This commit is contained in:
parent
dc24f0eaf4
commit
0f458594c6
1 changed files with 1 additions and 1 deletions
|
@ -215,7 +215,7 @@ class VMobject(Mobject):
|
||||||
|
|
||||||
def get_subpath_mobjects(self):
|
def get_subpath_mobjects(self):
|
||||||
return filter(
|
return filter(
|
||||||
lambda m : m.is_subpath,
|
lambda m : hasattr(m, 'is_subpath') and m.is_subpath,
|
||||||
self.submobjects
|
self.submobjects
|
||||||
)
|
)
|
||||||
|
|
||||||
|
|
Loading…
Add table
Reference in a new issue