mirror of
https://github.com/3b1b/manim.git
synced 2025-07-29 04:53:34 +08:00
Update mobject.py
This commit is contained in:
@ -1597,7 +1597,7 @@ class Group(Mobject):
|
|||||||
self.add(*mobjects)
|
self.add(*mobjects)
|
||||||
|
|
||||||
def __add__(self, other : 'Mobject' or 'Group'):
|
def __add__(self, other : 'Mobject' or 'Group'):
|
||||||
assert(isinstance(other(Mobject))
|
assert(isinstance(other, Mobject))
|
||||||
return self.add(other)
|
return self.add(other)
|
||||||
|
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user