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:
@@ -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):
|
||||
|
||||
Reference in New Issue
Block a user