Sync changes from upstream repository

This commit is contained in:
Bozo the Builder
2025-02-17 07:10:23 -08:00
parent b02292b119
commit 379bac6137
8 changed files with 89 additions and 34 deletions

View File

@@ -1087,6 +1087,8 @@ bool ON_EvaluateNurbsSurfaceSpan(
sizeof_buffer = ((i + j) << 3) + Pcount*Psize;
N_0 = (sizeof_buffer <= sizeof(stack_buffer)) ? stack_buffer : (double*)(heap_buffer=onmalloc(sizeof_buffer));
if ( nullptr == N_0)
return false;
N_1 = N_0 + i;
P0 = N_1 + j;
memset( P0, 0, Pcount*Psize );