Commit 572c2c5e authored by 潘栩锋's avatar 潘栩锋 🚴

修复 当 GetGrid 需要获取的数据长度,比缓冲区还大, 剩余的数据没有填入NULL_VALUE,导致出现AD=0

parent 3273888d
......@@ -331,7 +331,13 @@ namespace FlyADBase
{
int grid_num = grid_start + i;
if (grid_num >= fGrid.data[index].Length)
{
//剩余全部填入 NULL_VALUE;
for (int j = i; j < dat.Length; j++) {
dat[i] = Misc.MyBase.NULL_VALUE;
}
break;
}
if (GridSmooth > 0)
{
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment