Revert "Return a 16x16 empty bitmap (bitmap loader) if we got an error (missing icon or other WTF cases)"

This reverts commit fa1e44c42e.
This commit is contained in:
HomeWorld
2011-10-25 22:02:19 +03:00
parent fa1e44c42e
commit ce3458163a

View File

@@ -69,9 +69,6 @@ def getBitmap(name,location):
bmp = cachedBitmaps[path]
# print "#BMPs:%d - Current took: %.8f" % (cachedBitmapsCount,time.clock() - start)
if bmp is None:
bmp = wx.EmptyBitmap(16,16)
return bmp
def getImage(name, location):