diff --git a/io_scene_fbx/fbx_utils.py b/io_scene_fbx/fbx_utils.py index 9b3f638ba62513718d6e84a5d777223e7c547b09..2f203dd8cb00d0b8c6c41336e7408fd84c03a14b 100644 --- a/io_scene_fbx/fbx_utils.py +++ b/io_scene_fbx/fbx_utils.py @@ -202,7 +202,7 @@ def similar_values_iter(v1, v2, e=1e-6): if v1 == v2: return True for v1, v2 in zip(v1, v2): - if (abs(v1 - v2) / max(abs(v1), abs(v2))) > e: + if (v1 != v2) and ((abs(v1 - v2) / max(abs(v1), abs(v2))) > e): return False return True