修改检测工具,添加缩略图
parent
66d386fa9a
commit
3ec86e9844
Binary file not shown.
|
|
@ -31,6 +31,7 @@ def parse_psd(path):
|
|||
|
||||
has_base = False
|
||||
has_finish = False
|
||||
has_thumbnail = False
|
||||
lines = {}
|
||||
patch_stages = {}
|
||||
bad_stages = {}
|
||||
|
|
@ -112,7 +113,8 @@ def parse_psd(path):
|
|||
|
||||
auto_stages[nArr[1]].append(nArr[2])
|
||||
elif nArr[0] == 'thumbnail' or nArr[0] == 'role' or nArr[0] == 'rptmp':
|
||||
pass
|
||||
if nArr[0] == 'thumbnail':
|
||||
has_thumbnail = True
|
||||
elif is_activity_main_psd and nArr[0] == 'entry':
|
||||
if len(nArr) != 3:
|
||||
log.append("活动子点位,命名错误:{}".format(item.name))
|
||||
|
|
@ -140,6 +142,9 @@ def parse_psd(path):
|
|||
if not is_activity_main_psd and not has_finish:
|
||||
log.append("未检测到finish图层\n")
|
||||
|
||||
if is_activity_main_psd and not has_thumbnail:
|
||||
log.append("未检测到 缩略图 图层\n")
|
||||
|
||||
for stage in patch_stages:
|
||||
tmp = {}
|
||||
for item in patch_stages[stage]:
|
||||
|
|
|
|||
|
|
@ -1629,7 +1629,7 @@
|
|||
"9": "8763b1aaa2f9e912fafc62d8ece7936e2b6715a6",
|
||||
"90": "2501bfb8d3b01598d3bb57a7dc54c518ca62e228",
|
||||
"900": "2539dfe26204667c84db16b49ba9cae98289e633",
|
||||
"90000": "1e82dd216e505aeb518af281aa9b02756e164416",
|
||||
"90000": "e8f49930b0c9b7b2aef6875e58801018afa06df6",
|
||||
"90001": "e8f49930b0c9b7b2aef6875e58801018afa06df6",
|
||||
"901": "d17f1c1954d16b9adfae896ffb79235601c14226",
|
||||
"902": "7db0cd70ad3bfda76b59bdfa3bfd89e0c5e84294",
|
||||
|
|
|
|||
Loading…
Reference in New Issue