put back sprite placeholder for unknown chars
This commit is contained in:
parent
9dd0e4f8ff
commit
a85fbf0ab3
@ -349,7 +349,7 @@ class AOCharMovie(QtGui.QLabel):
|
||||
AOpath+"characters/"+p_char+"/"+p_emote+".webp",
|
||||
AOpath+"characters/"+p_char+"/(a)"+p_emote+".webp"
|
||||
)
|
||||
placeholder_path = AO2XPpath+"themes/default/placeholder.gif"
|
||||
placeholder_path = AO2XPpath+"themes/default/oldplaceholder.gif"
|
||||
gif_path = ""
|
||||
|
||||
print apng_path, emote_prefix+p_emote
|
||||
@ -396,7 +396,8 @@ class AOCharMovie(QtGui.QLabel):
|
||||
gif_path = ""
|
||||
self.use_pillow = 0
|
||||
|
||||
if gif_path == placeholder_path or gif_path == "":
|
||||
#if gif_path == placeholder_path or
|
||||
if gif_path == "":
|
||||
gif_path = self.prev_gif_path
|
||||
else:
|
||||
self.prev_gif_path = gif_path
|
||||
|
Loading…
Reference in New Issue
Block a user