don't fail on custom objection not found
This commit is contained in:
parent
f9a11ceeab
commit
5ecff5ba77
11
gameview.py
11
gameview.py
@ -633,8 +633,7 @@ class AOMovie(QtGui.QLabel):
|
||||
get_img_suffix(AO2XPpath+"themes/default/"+p_image+"_bubble"),
|
||||
get_img_suffix(AOpath+"characters/"+p_char+"/"+p_image),
|
||||
get_img_suffix(AOpath+"misc/default/"+p_image),
|
||||
get_img_suffix(AO2XPpath+"themes/default/"+p_image),
|
||||
#AO2XPpath+"themes/default/placeholder.gif"
|
||||
get_img_suffix(AO2XPpath+"themes/default/"+p_image)
|
||||
]
|
||||
|
||||
for f in pathlist:
|
||||
@ -653,15 +652,15 @@ class AOMovie(QtGui.QLabel):
|
||||
elif self.use_pillow == 1: # apng
|
||||
self.pillow_label.show()
|
||||
self.pillow_frames = images.load_apng(gif_path)
|
||||
if len(self.pillow_frames) > 1:
|
||||
self.pillow_timer.start(int(self.pillow_frames[0][1] * self.pillow_speed))
|
||||
#if len(self.pillow_frames) > 1:
|
||||
self.pillow_timer.start(int(self.pillow_frames[0][1] * self.pillow_speed))
|
||||
self.set_pillow_frame()
|
||||
elif self.use_pillow == 2: # webp
|
||||
self.pillow_label.show()
|
||||
self.pillow_loops = 0
|
||||
self.pillow_frames, self.webp_loops = images.load_webp(gif_path)
|
||||
if len(self.pillow_frames) > 1:
|
||||
self.pillow_timer.start(int(self.pillow_frames[0][1] * self.pillow_speed))
|
||||
#if len(self.pillow_frames) > 1:
|
||||
self.pillow_timer.start(int(self.pillow_frames[0][1] * self.pillow_speed))
|
||||
self.set_pillow_frame()
|
||||
|
||||
self.show()
|
||||
|
Loading…
Reference in New Issue
Block a user