mirror of
https://github.com/3b1b/manim.git
synced 2025-11-15 05:27:45 +00:00
Account for null family case
This commit is contained in:
parent
1a15756330
commit
dd0e91015c
1 changed files with 2 additions and 0 deletions
|
|
@ -1197,6 +1197,8 @@ class VMobject(Mobject):
|
|||
|
||||
def get_shader_wrapper_list(self) -> list[ShaderWrapper]:
|
||||
family = self.family_members_with_points()
|
||||
if not family:
|
||||
return []
|
||||
fill_names = self.fill_data_names
|
||||
stroke_names = self.stroke_data_names
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue