deving
This commit is contained in:
@@ -405,6 +405,13 @@ async def process_file_core(
|
||||
mesh_json=mesh_json,
|
||||
quality="medium",
|
||||
)
|
||||
# 将简要网格摘要写入内存任务,便于前端展示汇总信息
|
||||
tasks[task_id]["mesh_summary"] = {
|
||||
"vertex_count": len(vertices),
|
||||
"face_count": len(faces),
|
||||
"point_count": pointcloud.get("count"),
|
||||
"quality": "medium",
|
||||
}
|
||||
except Exception as mesh_err:
|
||||
# 网格失败不影响整体流程,只记录日志
|
||||
logger.warning(f"网格生成或保存失败,不影响主流程: {mesh_err}")
|
||||
|
||||
Reference in New Issue
Block a user