Fix issue with pointwise_become_partial

This commit is contained in:
Grant Sanderson
2021-01-13 09:21:22 -10:00
parent 8cc484943e
commit 38b305bb19

View File

@ -715,6 +715,7 @@ class VMobject(Mobject):
def pointwise_become_partial(self, vmobject, a, b):
assert(isinstance(vmobject, VMobject))
if a <= 0 and b >= 1:
self.become(vmobject)
return self
num_curves = vmobject.get_num_curves()
nppc = self.n_points_per_curve