From 34ba2cf3ebad8383e045d606ff8b5c27921e53a7 Mon Sep 17 00:00:00 2001 From: btzr-io Date: Tue, 12 Jun 2018 17:18:00 -0600 Subject: [PATCH] fix object position --- src/renderer/component/threeViewer/index.jsx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/renderer/component/threeViewer/index.jsx b/src/renderer/component/threeViewer/index.jsx index 8c74efa10..475630421 100644 --- a/src/renderer/component/threeViewer/index.jsx +++ b/src/renderer/component/threeViewer/index.jsx @@ -170,7 +170,7 @@ class ThreeViewer extends React.PureComponent { group.scale.set(scaleFactor, scaleFactor, scaleFactor); group.position.setY((meshY / 2) * scaleFactor); group.position.multiplyScalar(-1); - group.position.setY(meshY * scaleFactor); + group.position.setY((meshY * scaleFactor) / 2); } startLoader() {