head 1.1; access; symbols; locks; strict; comment @// @; 1.1 date 2026.11.08.16.15.19; author ryoon; state Exp; branches; next ; commitid ZLJvun5VhZ31WF2H; desc @@ 1.1 log @graphics/blender52-lts: import blender-5.2.3 Blender is the free and open source 3D creation suite. It supports the entirety of the 3D pipeline - modeling, rigging, animation, simulation, rendering, compositing and motion tracking, video editing and 2D animation pipeline. This package tracks 5.2 LTS release branch. @ text @$NetBSD: patch-source_blender_editors_mesh_meshtools.cc,v 1.2 2024/09/06 15:43:27 prlw1 Exp $ --- source/blender/editors/mesh/meshtools.cc.orig 2024-08-16 13:50:55.000000000 +0000 +++ source/blender/editors/mesh/meshtools.cc @@@@ -912,7 +912,7 @@@@ static BMVert *editbmesh_get_x_mirror_ve int i; /* ignore nan verts */ - if ((isfinite(co[0]) == false) || (isfinite(co[1]) == false) || (isfinite(co[2]) == false)) { + if ((std::isfinite(co[0]) == false) || (std::isfinite(co[1]) == false) || (std::isfinite(co[2]) == false)) { return nullptr; } @@@@ -997,7 +997,7 @@@@ static float *editmesh_get_mirror_uv( float cent[2]; /* ignore nan verts */ - if (isnan(uv[0]) || !isfinite(uv[0]) || isnan(uv[1]) || !isfinite(uv[1])) { + if (std::isnan(uv[0]) || !std::isfinite(uv[0]) || std::isnan(uv[1]) || !std::isfinite(uv[1])) { return nullptr; } @