修复曲面校正和疏密校正多点切换时不修改当前选中的点数

This commit is contained in:
shefengchun 2023-03-01 17:11:04 +08:00
parent 0a5f561bd6
commit 33e76ee393
3 changed files with 4 additions and 1 deletions

View File

@ -403,6 +403,7 @@ export default defineComponent({
if (now_v_h.value != 'level') { if (now_v_h.value != 'level') {
set?.SetBlendingOption("blending_grids_select_ui", "ver_density") set?.SetBlendingOption("blending_grids_select_ui", "ver_density")
set?.SetBlendingOption("blending_grids_control_point_count", `${newval.value}`) set?.SetBlendingOption("blending_grids_control_point_count", `${newval.value}`)
options_model_v.value=0
} }
save_set_cache() save_set_cache()
@ -414,6 +415,7 @@ export default defineComponent({
if (now_v_h.value == 'level') { if (now_v_h.value == 'level') {
set?.SetBlendingOption("blending_grids_select_ui", "hor_density") set?.SetBlendingOption("blending_grids_select_ui", "hor_density")
set?.SetBlendingOption("blending_grids_control_point_count", `${newval.value}`) set?.SetBlendingOption("blending_grids_control_point_count", `${newval.value}`)
options_model_h.value=0
} }
save_set_cache() save_set_cache()
}, 100); }, 100);

View File

@ -308,6 +308,7 @@ export default defineComponent({
watch(() => value_point_amount, (newval, oldval) => { watch(() => value_point_amount, (newval, oldval) => {
if(ste_status.value==0)set?.SetBlendingOption("blending_grids_control_point_count", `${newval.value}`) if(ste_status.value==0)set?.SetBlendingOption("blending_grids_control_point_count", `${newval.value}`)
options_model.value=0
save_set_cache() save_set_cache()
}, { deep: true }) }, { deep: true })

View File

@ -204,7 +204,7 @@
v-if="$store.state.custom_defines.function_fusion" v-if="$store.state.custom_defines.function_fusion"
> >
<q-item-section avatar> <q-item-section avatar>
<q-icon name="open_with" /> <q-icon style="color: #63bab4;" name="open_with" />
</q-item-section> </q-item-section>
<q-item-section> <q-item-section>
{{ $t("fusion settings") }} {{ $t("fusion settings") }}