feature/bugfix: rework heightmap (add scale option, modify workflow)
Signed-off-by: Stefan Dej <meteyou@gmail.com>
This commit is contained in:
parent
b1e2c280e5
commit
d1401d321a
@ -48,7 +48,7 @@
|
||||
<v-card>
|
||||
<v-toolbar flat dense>
|
||||
<v-toolbar-title>
|
||||
<span class="subheading"><v-icon left>mdi-cogs</v-icon>Profile</span>
|
||||
<span class="subheading"><v-icon left>mdi-stack-overflow</v-icon>Profile</span>
|
||||
</v-toolbar-title>
|
||||
</v-toolbar>
|
||||
<v-card-text class="py-0">
|
||||
@ -156,7 +156,6 @@
|
||||
y: [],
|
||||
z: [],
|
||||
type:"surface",
|
||||
intensity: [0, .05, .1],
|
||||
cmin: -0.1,
|
||||
cmax: 0.1,
|
||||
showscale: true,
|
||||
@ -289,9 +288,11 @@
|
||||
if(this.colorbarType) {
|
||||
this.data[0].cmin = min
|
||||
this.data[0].cmax = max
|
||||
this.data[0].autocolorscale = false
|
||||
} else {
|
||||
this.data[0].cmin = -0.1
|
||||
this.data[0].cmax = 0.1
|
||||
this.data[0].autocolorscale = true
|
||||
}
|
||||
|
||||
if (min > -0.5) min = -0.5
|
||||
|
@ -3,27 +3,6 @@ import router from "../plugins/router";
|
||||
|
||||
export default {
|
||||
|
||||
|
||||
responseBedMeshLoad({commit}) {
|
||||
commit('removeLoading', { name: 'bedMeshLoad' });
|
||||
},
|
||||
|
||||
responseBedMeshClear({commit}) {
|
||||
commit('removeLoading', { name: 'bedMeshClear' });
|
||||
},
|
||||
|
||||
responseBedMeshCalibrate({commit}) {
|
||||
commit('removeLoading', { name: 'bedMeshCalibrate' });
|
||||
},
|
||||
|
||||
responseBedMeshSave({commit}) {
|
||||
commit('removeLoading', { name: 'bedMeshSave' });
|
||||
},
|
||||
|
||||
responseBedMeshRemove({commit}) {
|
||||
commit('removeLoading', { name: 'bedMeshRemove' });
|
||||
},
|
||||
|
||||
switchToDashboard() {
|
||||
router.push("/");
|
||||
},
|
||||
|
@ -268,7 +268,6 @@ export default {
|
||||
},
|
||||
|
||||
getBedMeshProfileName: state => {
|
||||
window.console.log("bla bla")
|
||||
if ('bed_mesh' in state && 'profile_name' in state.bed_mesh) return state.bed_mesh.profile_name
|
||||
|
||||
return ''
|
||||
|
Loading…
x
Reference in New Issue
Block a user