mirror of
https://github.com/3b1b/manim.git
synced 2025-08-05 16:49:03 +00:00
Bugfix for aligning null VMobjects
This commit is contained in:
parent
1ca26fcf1d
commit
ac9c04d3b8
1 changed files with 2 additions and 0 deletions
|
@ -836,6 +836,8 @@ class VMobject(Mobject):
|
|||
upper_index, upper_residue = integer_interpolate(0, num_cubics, b)
|
||||
|
||||
self.clear_points()
|
||||
if num_cubics == 0:
|
||||
return self
|
||||
if lower_index == upper_index:
|
||||
self.append_points(partial_bezier_points(
|
||||
bezier_quads[lower_index],
|
||||
|
|
Loading…
Add table
Reference in a new issue