Geometry Nodes: increase threshold to make regression tests pass

The real fix here is to use some kind of relative error in `customdata_compare`
instead of the absolute error used now. If vertex coordinates get larger in magnitude,
the allowed error should increase as well.
This commit is contained in:
Jacques Lucke 2021-08-02 10:38:11 +02:00
parent de91cdd930
commit 3fd5c93f9c
1 changed files with 1 additions and 1 deletions

View File

@ -25,7 +25,7 @@ import sys
sys.path.append(os.path.dirname(os.path.realpath(__file__)))
from modules.mesh_test import BlendFileTest
geo_node_test = BlendFileTest("test_object", "expected_object")
geo_node_test = BlendFileTest("test_object", "expected_object", threshold=1e-4)
result = geo_node_test.run_test()
# Telling `ctest` about the failed test by raising Exception.