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$ --- source/blender/editors/object/object_add.cc.orig 2026-09-13 11:34:09.094217335 +0000 +++ source/blender/editors/object/object_add.cc @@@@ -870,7 +870,7 @@@@ static wmOperatorStatus lattice_add_to_selected_exec(b /* Prevent invalid or zero lattice size, fallback to 1.0f. */ for (int i = 0; i < 3; i++) { - if (!isfinite(ob_lattice->scale[i]) || ob_lattice->scale[i] <= FLT_EPSILON) { + if (!std::isfinite(ob_lattice->scale[i]) || ob_lattice->scale[i] <= FLT_EPSILON) { ob_lattice->scale[i] = 1.0f; } } @