mirror of
https://github.com/panda3d/panda3d.git
synced 2025-09-29 08:15:18 -04:00
deploy-ng: fix an exception when all icon images could not be read
This commit is contained in:
parent
833f778cb7
commit
28d9a33db4
@ -344,6 +344,7 @@ class Icon:
|
||||
if required_size * 2 in sizes:
|
||||
from_size = required_size * 2
|
||||
else:
|
||||
from_size = 0
|
||||
for from_size in sizes:
|
||||
if from_size > required_size:
|
||||
break
|
||||
|
Loading…
x
Reference in New Issue
Block a user