diff --git a/manimlib/mobject/mobject.py b/manimlib/mobject/mobject.py index 8532b42f..c7cc16b7 100644 --- a/manimlib/mobject/mobject.py +++ b/manimlib/mobject/mobject.py @@ -1594,14 +1594,7 @@ class Group(Mobject): Mobject.__init__(self, **kwargs) self.add(*mobjects) def __add__(self, other : 'Mobject' or 'Group'): - assert(isinstance(other, Mobject)) - if other in self: - return Group(*self, other.copy()) - if isinstance(other, (Group, VGroup)): - if all([isinstance(i, VMobject) for i in Group(*self, *other)]): - return VGroup(*self, *other) - return Group(*self, *other) - return Group(*self, other) + return self.add(other) class Point(Mobject):