mirror of
https://github.com/3b1b/manim.git
synced 2025-08-02 19:46:21 +08:00
revert changes in mobject.py and camera.py
This commit is contained in:
@ -373,7 +373,7 @@ class Scene(object):
|
||||
Groups of all clusters of adjacent Mobjects in the scene
|
||||
"""
|
||||
batches = batch_by_property(
|
||||
sorted(self.mobjects, key=lambda m: m.z_index),
|
||||
self.mobjects,
|
||||
lambda m: str(type(m)) + str(m.get_shader_wrapper(self.camera.ctx).get_id()) + str(m.z_index)
|
||||
)
|
||||
|
||||
|
Reference in New Issue
Block a user