问题修复
1. CenterText效果异常修复 2. 部分气泡宽度不合预期修复 3. 删除切割日志
This commit is contained in:
@@ -654,7 +654,6 @@ public class GearFollower : MonoBehaviour
|
||||
{
|
||||
// 检查是否形成了连续的切割路径
|
||||
bool hasContinuousCut = CheckContinuousCut();
|
||||
Debug.Log($"连续切割检查: {hasContinuousCut}, 已切割点数: {cutEdgeIndices.Count}, 总点数: {edgePoints.Count}");
|
||||
|
||||
if (hasContinuousCut)
|
||||
{
|
||||
@@ -716,7 +715,6 @@ public class GearFollower : MonoBehaviour
|
||||
|
||||
// 计算连续切割点的比例
|
||||
float continuousRatio = (float)maxContinuousCount / totalPoints;
|
||||
Debug.Log($"最大连续切割点数: {maxContinuousCount}, 总点数: {totalPoints}, 比例: {continuousRatio * 100}%");
|
||||
|
||||
// 如果连续切割点的数量超过总点数的70%,认为形成了有效的切割路径
|
||||
return continuousRatio >= 0.7f;
|
||||
|
||||
Reference in New Issue
Block a user