From 39cda62b66a1941461e2b240d3d83f2d860db5b0 Mon Sep 17 00:00:00 2001 From: Grant Sanderson Date: Sun, 22 Jan 2023 09:07:26 -0800 Subject: [PATCH] Remove texture_id == 15 hack --- manimlib/camera/camera.py | 2 -- 1 file changed, 2 deletions(-) diff --git a/manimlib/camera/camera.py b/manimlib/camera/camera.py index 16ca9c16..f8afd6fa 100644 --- a/manimlib/camera/camera.py +++ b/manimlib/camera/camera.py @@ -525,8 +525,6 @@ class Camera(object): def get_texture_id(self, path: str) -> int: if path not in self.path_to_texture: - if self.n_textures == 15: # I have no clue why this is needed - self.n_textures += 1 tid = self.n_textures self.n_textures += 1 im = Image.open(path).convert("RGBA")