diff --git a/manimlib/camera/camera.py b/manimlib/camera/camera.py index 8144dd48..e585d110 100644 --- a/manimlib/camera/camera.py +++ b/manimlib/camera/camera.py @@ -445,6 +445,8 @@ class Camera(object): def get_texture_id(self, path): 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")