diff options
Diffstat (limited to 'source')
-rw-r--r-- | source/blender/bmesh/tools/bmesh_path.c | 2 | ||||
-rw-r--r-- | source/blender/bmesh/tools/bmesh_path_uv.c | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/source/blender/bmesh/tools/bmesh_path.c b/source/blender/bmesh/tools/bmesh_path.c index 673bf5b42e1..cb75f47acf3 100644 --- a/source/blender/bmesh/tools/bmesh_path.c +++ b/source/blender/bmesh/tools/bmesh_path.c @@ -31,7 +31,7 @@ #include "bmesh.h" #include "bmesh_path.h" /* own include */ -#define COST_INIT_MAX 1e20f +#define COST_INIT_MAX FLT_MAX /* -------------------------------------------------------------------- */ /** \name Generic Helpers diff --git a/source/blender/bmesh/tools/bmesh_path_uv.c b/source/blender/bmesh/tools/bmesh_path_uv.c index 23bee37be7b..ce8b0a2e849 100644 --- a/source/blender/bmesh/tools/bmesh_path_uv.c +++ b/source/blender/bmesh/tools/bmesh_path_uv.c @@ -33,7 +33,7 @@ #include "intern/bmesh_query.h" #include "intern/bmesh_query_uv.h" -#define COST_INIT_MAX 1e20f +#define COST_INIT_MAX FLT_MAX /* -------------------------------------------------------------------- */ /** \name Generic Helpers |