set enabled of control

doesn’t do anything
This commit is contained in:
casperlamboo 2017-11-12 12:58:19 +01:00
parent 16158a3e3c
commit 3a09b93f46

View File

@ -94,6 +94,7 @@ class Interface extends React.Component {
reset = () => {
const { control, mesh, render, gcode, scene } = this.state;
control.enabled = true;
control.visible = true;
mesh.visible = true;
@ -133,6 +134,7 @@ class Interface extends React.Component {
// TODO
// can't disable control ui still interacts with mouse input
control.enabled = false;
control.visible = false;
mesh.visible = false;