mirror of
https://github.com/3b1b/manim.git
synced 2025-08-05 16:49:03 +00:00
VectorizedPoint should call __init__ for both super classes
This commit is contained in:
parent
7fa01d5de8
commit
8f1dfabff0
1 changed files with 2 additions and 1 deletions
|
@ -1048,7 +1048,8 @@ class VectorizedPoint(Point, VMobject):
|
|||
}
|
||||
|
||||
def __init__(self, location=ORIGIN, **kwargs):
|
||||
super().__init__(**kwargs)
|
||||
Point.__init__(self, **kwargs)
|
||||
VMobject.__init__(self, **kwargs)
|
||||
self.set_points(np.array([location]))
|
||||
|
||||
|
||||
|
|
Loading…
Add table
Reference in a new issue