Skip to content

Commit

Permalink
Have Mobject.match_points return self
Browse files Browse the repository at this point in the history
  • Loading branch information
3b1b committed Mar 27, 2021
1 parent 7f47815 commit 6997cc9
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions manimlib/mobject/mobject.py
Original file line number Diff line number Diff line change
Expand Up @@ -176,6 +176,7 @@ def apply_points_function(self, func, about_point=None, about_edge=ORIGIN, works

def match_points(self, mobject):
self.set_points(mobject.get_points())
return self

def get_points(self):
return self.data["points"]
Expand Down

0 comments on commit 6997cc9

Please sign in to comment.