修复疏密校正索引错误
This commit is contained in:
parent
112ea9195b
commit
c35349b6e4
|
@ -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')
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue