Fix tray overlap in local renderer
This commit is contained in:
@@ -458,8 +458,8 @@ def render_model(pack_root: Path, model_ref: str, output_path: Path, cache: dict
|
||||
shadow = shadow.filter(ImageFilter.GaussianBlur(8))
|
||||
canvas.alpha_composite(shadow)
|
||||
|
||||
faces: list[tuple[float, list[tuple[float, float, float]], Image.Image]] = []
|
||||
for corners, element, model_data in transformed_elements:
|
||||
faces: list[tuple[float, list[tuple[float, float, float]], Image.Image]] = []
|
||||
for face_name, face in element.get("faces", {}).items():
|
||||
vertices = face_vertices(corners, face_name)
|
||||
if not vertices:
|
||||
|
||||
Reference in New Issue
Block a user