From b285ca7c22537bf3034ed26e58dbcd92ad6c675b Mon Sep 17 00:00:00 2001 From: Bill Xi <86190295+BillyLikesHacking@users.noreply.github.com> Date: Sun, 31 Oct 2021 18:38:23 +0800 Subject: [PATCH] Update vectorized_mobject.py --- manimlib/mobject/types/vectorized_mobject.py | 7 ------- 1 file changed, 7 deletions(-) diff --git a/manimlib/mobject/types/vectorized_mobject.py b/manimlib/mobject/types/vectorized_mobject.py index 257c6de1..02604a7f 100644 --- a/manimlib/mobject/types/vectorized_mobject.py +++ b/manimlib/mobject/types/vectorized_mobject.py @@ -995,13 +995,6 @@ class VGroup(VMobject): self.add(*vmobjects) def __add__(self:'VGroup', other : 'VMobject' or 'VGroup'): - assert(isinstance(other, VMobject)) - if isinstance(other, VGroup): - return VGroup(*self, *other) - if isinstance(other, Mobject): - return Group(*self) + other - if other in self: - return self.add(other.copy()) return self.add(other)