Some bug fixes associated with new copy method

This commit is contained in:
Grant Sanderson
2017-03-25 12:18:33 -07:00
parent ff0c122d4d
commit 6ab2d5f3b2
2 changed files with 15 additions and 1 deletions

View File

@ -200,7 +200,7 @@ class VMobject(Mobject):
but will be tracked in a separate special list for when
it comes time to display.
"""
subpath_mobject = VMobject()
subpath_mobject = self.copy()##Really helps to be of the same class
subpath_mobject.is_subpath = True
subpath_mobject.set_points(points)
self.add(subpath_mobject)