mirror of
https://github.com/3b1b/manim.git
synced 2025-08-31 16:08:54 +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):
|
||||
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
|
||||
|
|
Loading…
Add table
Reference in a new issue