Skip to content

armgit / manim

Public Imported from GitHub
0

A community-maintained Python framework for creating mathematical animations.

forgot change use_z_index

Tony0312181b66f9cab219
diff --git a/manim/camera/camera.py b/manim/camera/camera.py
index 67c5eb9de..8c596ca7e 100644
--- a/manim/camera/camera.py
+++ b/manim/camera/camera.py
@@ -414,7 +414,7 @@ class Camera(object):
method = Mobject.family_members_with_points
else:
method = Mobject.get_family
- if self.open_z_index:
+ if self.use_z_index:
mobjects.sort(key=lambda m: m.z_index)
return remove_list_redundancies(list(
it.chain(*[method(m) for m in mobjects])