From 34ae76ab7f9a73447697368ca887193a91c5e8e3 Mon Sep 17 00:00:00 2001 From: Grant Sanderson Date: Sat, 22 Feb 2020 13:20:59 -0800 Subject: [PATCH] Have restructure_list_to_exclude_certain_family_members work with the full family of to_remove --- manimlib/utils/family_ops.py | 1 + 1 file changed, 1 insertion(+) diff --git a/manimlib/utils/family_ops.py b/manimlib/utils/family_ops.py index 59e86cef..e6035d30 100644 --- a/manimlib/utils/family_ops.py +++ b/manimlib/utils/family_ops.py @@ -22,6 +22,7 @@ def restructure_list_to_exclude_certain_family_members(mobject_list, to_remove): for the list of mobject_list to be edited to contain other submobjects, but not m1. """ new_list = [] + to_remove = extract_mobject_family_members(to_remove) def add_safe_mobjects_from_list(list_to_examine, set_to_remove): for mob in list_to_examine: