From 6fe485f2ab7fe63ff2bf210a95de904b23734361 Mon Sep 17 00:00:00 2001 From: zhouchengrong Date: Wed, 23 Oct 2024 14:32:23 +0800 Subject: [PATCH] =?UTF-8?q?feat=20fix=20=20=20=E7=9F=AD=E8=A3=A4=E6=88=96?= =?UTF-8?q?=E7=9F=AD=E8=A3=99=E5=92=8C=E9=95=BF=E8=A3=A4=E6=90=AD=E9=85=8D?= =?UTF-8?q?=20=E9=95=BF=E8=A3=A4=E5=9C=A8=E5=86=85=E5=87=BA=E7=8E=B0=20all?= =?UTF-8?q?=5Fmask=20=E7=9A=84=E5=BC=82=E5=B8=B8=E9=97=AE=E9=A2=98?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- app/service/design_fast/utils/synthesis_item.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/app/service/design_fast/utils/synthesis_item.py b/app/service/design_fast/utils/synthesis_item.py index 08bf4ec..f5d505f 100644 --- a/app/service/design_fast/utils/synthesis_item.py +++ b/app/service/design_fast/utils/synthesis_item.py @@ -98,7 +98,7 @@ def synthesis(data, size, basic_info): background[all_y_start:all_y_end, all_x_start:all_x_end] = sketch_mask[mask_y_start:mask_y_end, mask_x_start:mask_x_end] top_outer_mask = background + top_outer_mask elif bottom and data[i]['name'] in ["trousers_front", "skirt_front", "bottoms_front", "dress_front"]: - bottom = False + # bottom = False mask_shape = data[i]['mask'].shape y_offset, x_offset = data[i]['adaptive_position'] # 初始化叠加区域的起始和结束位置