mirror of
https://github.com/3b1b/manim.git
synced 2025-09-01 00:48:45 +00:00
Fix issue with pointwise_become_partial
This commit is contained in:
parent
8cc484943e
commit
38b305bb19
1 changed files with 1 additions and 0 deletions
|
@ -715,6 +715,7 @@ class VMobject(Mobject):
|
||||||
def pointwise_become_partial(self, vmobject, a, b):
|
def pointwise_become_partial(self, vmobject, a, b):
|
||||||
assert(isinstance(vmobject, VMobject))
|
assert(isinstance(vmobject, VMobject))
|
||||||
if a <= 0 and b >= 1:
|
if a <= 0 and b >= 1:
|
||||||
|
self.become(vmobject)
|
||||||
return self
|
return self
|
||||||
num_curves = vmobject.get_num_curves()
|
num_curves = vmobject.get_num_curves()
|
||||||
nppc = self.n_points_per_curve
|
nppc = self.n_points_per_curve
|
||||||
|
|
Loading…
Add table
Reference in a new issue