bugfix(heightmap): fix dataShape for all bed_mesh ratios (Y, X) instead of (X, Y)

Signed-off-by: Stefan Dej <meteyou@gmail.com>
This commit is contained in:
Stefan Dej committed 2021-08-21 15:27:48 +02:00
1 parent d5218ca059
commit 3f0d595a9d
1 file changed
+3 -3
+3 -3
View File
@@ -515,7 +515,7 @@ export default class PageHeightmap extends Mixins(BaseMixin) {
})
serie.data = data
serie.dataShape = [xCount, yCount]
serie.dataShape = [yCount, xCount]
}
return serie
@@ -561,7 +561,7 @@ export default class PageHeightmap extends Mixins(BaseMixin) {
})
serie.data = data
serie.dataShape = [xCount, yCount]
serie.dataShape = [yCount, xCount]
}
return serie
@@ -626,7 +626,7 @@ export default class PageHeightmap extends Mixins(BaseMixin) {
}
serie.data = data
serie.dataShape = [xCount, yCount]
serie.dataShape = [yCount, xCount]
}
return serie