修复疏密校正索引错误

This commit is contained in:
shefengchun 2023-02-09 15:05:10 +08:00
parent 112ea9195b
commit c35349b6e4
1 changed files with 1 additions and 2 deletions

View File

@ -477,7 +477,7 @@ export default defineComponent({
set?.SetBlendingHorDensity( set?.SetBlendingHorDensity(
$store.getters.GetTheCurrentlySelectedCamera[0], $store.getters.GetTheCurrentlySelectedCamera[0],
$store.getters.GetTheCurrentlySelectedCamera[1], $store.getters.GetTheCurrentlySelectedCamera[1],
index-4, index>4?index-4:index+1,
Number(value) Number(value)
); );
} }
@ -500,7 +500,6 @@ export default defineComponent({
Math.ceil( Math.ceil(
(obj_y - default_location[index].y) * Proportion.value.y (obj_y - default_location[index].y) * Proportion.value.y
); );
console.log(index, x,'h')
value[index+5].x = x > config.width ? config.width : x && x < 0 ? 0 : x; value[index+5].x = x > config.width ? config.width : x && x < 0 ? 0 : x;
send_configuration(index, x,'h') send_configuration(index, x,'h')
} }