fix for copy bug (again)

This commit is contained in:
Ben Hambrecht
2018-04-11 17:01:01 +02:00
parent e0ff0f2a9f
commit 43faec638e

View File

@ -115,7 +115,7 @@ class Mobject(Container):
def copy(self): def copy(self):
# TODO, either justify reason for shallow copy, or # TODO, either justify reason for shallow copy, or
# remove this redundancy everywhere # remove this redundancy everywhere
return self.deepcopy() #return self.deepcopy()
copy_mobject = copy.copy(self) copy_mobject = copy.copy(self)
copy_mobject.points = np.array(self.points) copy_mobject.points = np.array(self.points)