mirror of
https://github.com/3b1b/manim.git
synced 2025-09-01 00:48:45 +00:00
Update vectorized_mobject.py
This commit is contained in:
parent
01f4ef3e5d
commit
6766e459f2
1 changed files with 1 additions and 0 deletions
|
@ -991,6 +991,7 @@ class VGroup(VMobject):
|
|||
self.add(*vmobjects)
|
||||
|
||||
def __add__(self:'VGroup', other : 'VMobject' or 'VGroup'):
|
||||
assert(isinstance(other, VMobject))
|
||||
return self.add(other)
|
||||
|
||||
|
||||
|
|
Loading…
Add table
Reference in a new issue