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_util_numinput.cc,v 1.1 2024/09/06 15:43:27 prlw1 Exp $ --- source/blender/editors/util/numinput.cc.orig 2026-06-03 13:03:49.000000000 +0000 +++ source/blender/editors/util/numinput.cc @@@@ -74,7 +74,7 @@@@ bool ED_numinput_double_is_int(double value) { value = std::abs(value); /* Use `>=` because `uint64_t::max` rounds up to 2^64 when converted to double. */ - if (!isfinite(value) || value >= double(std::numeric_limits::max())) { + if (!std::isfinite(value) || value >= double(std::numeric_limits::max())) { return false; } return value == double(uint64_t(value)); @@@@ -666,7 +666,7 @@@@ bool handleNumInput(bContext *C, NumInput *n, const wm } #endif - if (UNLIKELY(!isfinite(n->val[idx]))) { + if (UNLIKELY(!std::isfinite(n->val[idx]))) { n->val[idx] = val_prev; n->val_flag[idx] |= NUM_INVALID; } @