Skip to content

Commit

Permalink
Update scene.py
Browse files Browse the repository at this point in the history
  • Loading branch information
th3w1zard1 committed Feb 16, 2024
1 parent 7fd266d commit 32008c9
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion Libraries/PyKotorGL/src/pykotor/gl/scene.py
Original file line number Diff line number Diff line change
Expand Up @@ -679,7 +679,7 @@ def texture(self, name: str) -> Texture:
print(f"Texture '{name}' not found, locating it in override/bifs...")
tpc = self.installation.texture(name, [SearchLocation.OVERRIDE, SearchLocation.TEXTURES_TPA, SearchLocation.CHITIN])
if tpc is None:
print(f"NOT FOUND: Texture '{name}' required by {self.module._root}")
print(f"NOT FOUND: Texture '{name}'")
except (OSError, ValueError) as e:
print(format_exception_with_variables(e))
# If an error occurs during the loading process, just use a blank image.
Expand Down

0 comments on commit 32008c9

Please sign in to comment.