A community-maintained Python framework for creating mathematical animations.
change open to use and delete get_z_index method
Tony031218d9126f131f93
diff --git a/manim/camera/camera.py b/manim/camera/camera.pyindex fd4e3512e..67c5eb9de 100644--- a/manim/camera/camera.py+++ b/manim/camera/camera.py@@ -61,7 +61,7 @@ class Camera(object):# round z coordinate to nearest hundredth when comparring"z_buff_func": lambda m: np.round(m.get_center()[2], 2),"cairo_line_width_multiple": 0.01,- "open_z_index": True,+ "use_z_index": True,}def __init__(self, background=None, **kwargs):diff --git a/manim/mobject/mobject.py b/manim/mobject/mobject.pyindex b3649a4ea..69f53278a 100644--- a/manim/mobject/mobject.py+++ b/manim/mobject/mobject.py@@ -1126,9 +1126,6 @@ class Mobject(Container):self.z_index = z_index_valuereturn self- def get_z_index(self):- return self.z_index-def set_z_index_by_z_coordinate(self):z_coord = self.get_center()[-1]self.set_z_index(z_coord)