修复曲面校正不发送当前点数

This commit is contained in:
shefengchun 2023-02-24 09:42:13 +08:00
parent 77e270c6b2
commit aa0e83045b
1 changed files with 8 additions and 2 deletions

View File

@ -425,8 +425,14 @@ export default defineComponent({
break; break;
case 'SurfaceCorrection': case 'SurfaceCorrection':
tmp = '9' tmp = '9'
//set?.SetBlendingOption("blending_grids_control_point_count", `${child.value!.value_point_amount}`) /**
set?.SetBlendingOption("blending_grids_select_point", `9:1`) * 延迟发送不然获取不到值
*/
setTimeout(() => {
set?.SetBlendingOption("blending_grids_control_point_count", `${child.value!.value_point_amount}`)
set?.SetBlendingOption("blending_grids_select_point", `${child.value!.value_point_amount}:1`)
}, 100);
break; break;
case 'DensityCorrection': case 'DensityCorrection':
tmp = 'hor_density' tmp = 'hor_density'