diff --git a/src/Core/Collision/ClashDetectiveIntegration.cs b/src/Core/Collision/ClashDetectiveIntegration.cs index 792d082..c85414c 100644 --- a/src/Core/Collision/ClashDetectiveIntegration.cs +++ b/src/Core/Collision/ClashDetectiveIntegration.cs @@ -249,7 +249,6 @@ namespace NavisworksTransport string pathName = "未知路径", string routeId = null, string animatedObjectName = null, int frameRate = 30, double duration = 10.0) { - Progress progress = null; try { LogManager.Info($"=== 使用预计算碰撞数据创建ClashDetective测试(容差: {detectionGap}米) ==="); @@ -357,10 +356,6 @@ namespace NavisworksTransport LogManager.Info($"[分组测试] 创建碰撞分组: {collisionGroup.DisplayName}"); - // 🎯 创建进度条 - progress = Application.BeginProgress("碰撞检测", - $"正在处理 {validCollisions.Count} 个碰撞点..."); - int resultCount = 0; foreach (var collision in validCollisions) { @@ -615,21 +610,6 @@ namespace NavisworksTransport { LogManager.Error($"动画结束后创建测试失败: {ex.Message}"); } - finally - { - // 🎯 确保进度条被关闭 - if (progress != null) - { - try - { - Application.EndProgress(); - } - catch (Exception progressEx) - { - LogManager.Error($"[碰撞检测] 关闭进度条失败: {progressEx.Message}"); - } - } - } } ///