fix setting dimensions

This commit is contained in:
casperlamboo 2017-11-12 00:46:39 +01:00
parent 2b783e2889
commit 624a178bb2

View File

@ -79,7 +79,7 @@ export function createScene(canvas, props, state) {
scene.add(box);
const { dimensions } = printers[defaultPrinter];
box.scale.set(dimensions.x, dimensions.y, dimensions.z);
box.scale.set(dimensions.y, dimensions.z, dimensions.x);
render();