mirror of
https://github.com/3b1b/manim.git
synced 2025-07-31 14:03:59 +08:00
VectorizedPoint should call __init__ for both super classes
This commit is contained in:
@ -1048,7 +1048,8 @@ class VectorizedPoint(Point, VMobject):
|
|||||||
}
|
}
|
||||||
|
|
||||||
def __init__(self, location=ORIGIN, **kwargs):
|
def __init__(self, location=ORIGIN, **kwargs):
|
||||||
super().__init__(**kwargs)
|
Point.__init__(self, **kwargs)
|
||||||
|
VMobject.__init__(self, **kwargs)
|
||||||
self.set_points(np.array([location]))
|
self.set_points(np.array([location]))
|
||||||
|
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user