mirror of
https://github.com/3b1b/manim.git
synced 2025-08-06 06:46:07 +08:00
Line.put_start_and_end_on should return self
This commit is contained in:
@ -494,7 +494,7 @@ class Line(TipableVMobject):
|
||||
self.start = start
|
||||
self.end = end
|
||||
self.generate_points()
|
||||
super().put_start_and_end_on(start, end)
|
||||
return super().put_start_and_end_on(start, end)
|
||||
|
||||
def get_vector(self):
|
||||
return self.get_end() - self.get_start()
|
||||
|
Reference in New Issue
Block a user