mirror of
https://github.com/3b1b/manim.git
synced 2025-08-02 11:03:03 +08:00
Temporary hack to fix a bug I don't understand
This commit is contained in:
@ -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")
|
||||
|
Reference in New Issue
Block a user