feat 处理多层sketch design出现的内搭越界问题

fix
This commit is contained in:
zhouchengrong
2024-07-22 15:20:46 +08:00
parent b75d1e5574
commit 87fcd5e9e9
2 changed files with 17 additions and 7 deletions

View File

@@ -99,7 +99,7 @@ def process_object(cfg, process_id, total):
uploaded_images.append({'image_obj': layer['mask'], 'image_url': layer['mask_url'], 'image_type': 'mask'})
# 合成
items_response['synthesis_url'] = synthesis(layers, body_size)
items_response['synthesis_url'] = synthesis(layers, body_size, basic_info)
for lay in layers:
items_response['layers'].append({