mirror of
https://github.com/3b1b/manim.git
synced 2025-09-19 04:41:56 +00:00
Remove texture_id == 15 hack
This commit is contained in:
parent
24864a3d61
commit
39cda62b66
1 changed files with 0 additions and 2 deletions
|
@ -525,8 +525,6 @@ class Camera(object):
|
||||||
|
|
||||||
def get_texture_id(self, path: str) -> int:
|
def get_texture_id(self, path: str) -> int:
|
||||||
if path not in self.path_to_texture:
|
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
|
tid = self.n_textures
|
||||||
self.n_textures += 1
|
self.n_textures += 1
|
||||||
im = Image.open(path).convert("RGBA")
|
im = Image.open(path).convert("RGBA")
|
||||||
|
|
Loading…
Add table
Reference in a new issue