mirror of
https://github.com/Doodle3D/Doodle3D-Slicer.git
synced 2024-11-22 05:37:55 +01:00
change order of axis in dimensions preview
This commit is contained in:
parent
120b49dfb7
commit
793f8100fb
@ -311,7 +311,7 @@ class Interface extends React.Component {
|
||||
calculateDimensions = () => {
|
||||
const { scene: { mesh } } = this.state;
|
||||
const { x, y, z } = new THREE.Box3().setFromObject(mesh).getSize();
|
||||
this.setState({ objectDimensions: `${Math.round(x)}x${Math.round(y)}x${Math.round(z)}mm` });
|
||||
this.setState({ objectDimensions: `${Math.round(y)}x${Math.round(z)}x${Math.round(x)}mm` });
|
||||
};
|
||||
|
||||
onDrop = (event) => {
|
||||
|
Loading…
Reference in New Issue
Block a user