Account for null family case

This commit is contained in:
Grant Sanderson 2023-01-16 13:56:03 -08:00
parent 1a15756330
commit dd0e91015c

View file

@ -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