A community-maintained Python framework for creating mathematical animations.
Bugfix for aligning null VMobjects
Grant Sandersonac9c04d3b88a
diff --git a/manimlib/mobject/types/vectorized_mobject.py b/manimlib/mobject/types/vectorized_mobject.pyindex 255c6f0db..1fae84fe5 100644--- a/manimlib/mobject/types/vectorized_mobject.py+++ b/manimlib/mobject/types/vectorized_mobject.py@@ -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 selfif lower_index == upper_index:self.append_points(partial_bezier_points(bezier_quads[lower_index],