Skip to content

Commit

Permalink
Reports when it tries loading an image and it is not found.
Browse files Browse the repository at this point in the history
  • Loading branch information
erodozer committed Mar 6, 2011
1 parent 8e6d663 commit 33c5f4a
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions src/Data.py
Expand Up @@ -445,6 +445,7 @@ def loadImgDrawing(self, target, name, fileName, textureSize = None, dirLoad = F
if target and name:
setattr(target, name, None)
else:
Log.error("Image not found: " + fileName)
return None

if target:
Expand Down

0 comments on commit 33c5f4a

Please sign in to comment.