From 6c65407ae3830fe7f19c8a105814ac1d80b6fe6d Mon Sep 17 00:00:00 2001 From: Thomas Tu Date: Fri, 6 Mar 2026 15:53:09 -0500 Subject: [PATCH] Increase VectorHash precision so PB handles better small objects - too closed vertices were getting removed because of lack of precision --- Runtime/Core/VectorHash.cs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Runtime/Core/VectorHash.cs b/Runtime/Core/VectorHash.cs index 03246d360..4281d3828 100644 --- a/Runtime/Core/VectorHash.cs +++ b/Runtime/Core/VectorHash.cs @@ -9,7 +9,7 @@ namespace UnityEngine.ProBuilder /// static class VectorHash { - public const float FltCompareResolution = 1000f; + public const float FltCompareResolution = 1000000f; static int HashFloat(float f) {