mirror of
https://github.com/3b1b/manim.git
synced 2025-07-30 21:44:19 +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):
|
||||
super().__init__(**kwargs)
|
||||
Point.__init__(self, **kwargs)
|
||||
VMobject.__init__(self, **kwargs)
|
||||
self.set_points(np.array([location]))
|
||||
|
||||
|
||||
|
Reference in New Issue
Block a user