head 1.1; access; symbols; locks; strict; comment @// @; 1.1 date 2026.11.08.16.15.18; 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_blenkernel_intern_particle__distribute.cc,v 1.1 2024/09/06 15:43:27 prlw1 Exp $ --- source/blender/blenkernel/intern/particle_distribute.cc.orig 2024-06-05 11:47:56.000000000 +0000 +++ source/blender/blenkernel/intern/particle_distribute.cc @@@@ -543,7 +543,7 @@@@ static void distribute_from_faces_exec(P } else { float offset = fmod(ctx->jitoff[i] + float(p), float(ctx->jitlevel)); - if (!isnan(offset)) { + if (!std::isnan(offset)) { psys_uv_to_w( ctx->jit[2 * int(offset)], ctx->jit[2 * int(offset) + 1], mface->v4, pa->fuv); } @@@@ -596,7 +596,7 @@@@ static void distribute_from_volume_exec( } else { float offset = fmod(ctx->jitoff[i] + float(p), float(ctx->jitlevel)); - if (!isnan(offset)) { + if (!std::isnan(offset)) { psys_uv_to_w( ctx->jit[2 * int(offset)], ctx->jit[2 * int(offset) + 1], mface->v4, pa->fuv); } @