Remove texture_id == 15 hack

This commit is contained in:
Grant Sanderson 2023-01-22 09:07:26 -08:00
parent 24864a3d61
commit 39cda62b66

View file

@ -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")