Update vectorized_mobject.py

This commit is contained in:
Bill Xi 2021-10-31 20:03:04 +08:00 committed by GitHub
parent 01f4ef3e5d
commit 6766e459f2
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -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)