Attempt to fix issue with cube click detection
This commit is contained in:
parent
5ef10e4202
commit
6076d8856f
@ -427,6 +427,7 @@ const Canvas = {
|
||||
//mesh.geometry.translate(-cube.origin[0], -cube.origin[1], -cube.origin[2])
|
||||
mesh.rotation.set(0, 0, 0)
|
||||
mesh.geometry.computeBoundingBox()
|
||||
mesh.geometry.computeBoundingSphere()
|
||||
|
||||
if (Format.rotate_cubes) {
|
||||
if (cube.rotation !== undefined) {
|
||||
|
Loading…
x
Reference in New Issue
Block a user